Citrix ShareFile supports external integration through an HTTP-based REST API.

Generate an api key using : https://api.sharefile.com/rest/oauth2-request.aspx
- the redirect uri must be added (that requires that the admin should be logged in through an HTTPS, as citrix only allows https for redirect uri) like : https://www.example/?command=register_citrix_api, it also need to ends with ?command=register_citrix_api.
[attachments|api_key.png]

Now that the API is enabled, and your credentials are setup, and your redirect domains are configured, you can use the credentials in CrushFTP to get your google auth token and get access.
In the User Manager, add a new remote VFS item type and set the protocol to be "Citrix".
Take your google client_id and secret and combine them together with a tilde as separator:
{{{
client_id: Tx7gIXXXXXXXXXXXXXXXI3q3o6o
secret: teArrBXXXXXXXXXXXDm1G2mAIb69dXXXXXXXXXXnAJvW4h
}}}
results in:
{{{
Tx7gIXXXXXXXXXXXXXXXI3q3o6o~teArrBXXXXXXXXXXXDm1G2mAIb69dXXXXXXXXXXnAJvW4h
}}}

That whole long string becomes your "Client ID" to Citrix://.
Copy and paste it into the Client ID field. Then click "Get Refresh Token" to finish the config.

[attachments|vfs.png]

Give your citrix credentials to the appearing form :

[attachments|credentials.png]

The url should look like (Replace the * * with your corresponding data!):

azure://*Storage Account name | User name field*:*Access Key | Password Field*@file.core.windows.net/*File Service Share name*/

[attachments|AzureConfiguration.png]