Using a service account
Connect your External Cloud Storage Service Account to your Salesforce org utilizing the Setup page in CloudFiles app by clicking on the external storage of choice and log into your service account. For detailed steps, follow Automations .
Once the setup is complete, you can access the connected Library from within Salesforce using the "Content Library" tab of the CloudFiles app.
From the CloudFiles Content Library tab, the Service Account (admin) user can explore any supported external storage and get metadata values for files & folders to be used in flow actions and apex.

From the Content Library interface the Service Account (admin) user can share any of the resources from the connected Library to make them accesible to a specific Salesforce Public group users.
- To share any resource, simply click on the dropdown icon in far right on the item row. Click "Share".

- In the sharing window pop-up you can search and select the public group with whom you wish to share the access with. This adds up the selected group to the "Who Can Access" list.
- You can view and manage the "Who Can Access" list from the sharing window itself.


From the Content Library interface the Service Account (admin) user can switch between the Service Account and User Account by clicking the gear icon against the library and selecting the perspective.