{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-agen-for-work/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["Notification","LightboxImage"]},"type":"markdown"},"seo":{"title":"Citrix ShareFile integration","siteUrl":"https://developers.frontegg.com/","llmstxt":{"title":"Frontegg Developer Documentation","description":"Authentication, authorization, and user management for Customer Identity, plus Agen for SaaS and Agen for Work. Guides, SDKs, and API references.","sections":[{"title":"Customer Identity (CIAM)","description":"Auth, SSO, SCIM, entitlements, and user management — guides, SDKs, and APIs.","includeFiles":["ciam/**/*.md"],"excludeFiles":[]},{"title":"Agen for SaaS","description":"Agentic access and authorization for SaaS products.","includeFiles":["agen-for-saas/**/*.md"],"excludeFiles":[]},{"title":"Agen for Work","description":"Agentic access and authorization for internal and workforce use.","includeFiles":["agen-for-work/**/*.md"],"excludeFiles":[]},{"title":"Platform","description":"Shared platform overview.","includeFiles":["platform/**/*.md"],"excludeFiles":[]}],"excludeFiles":["internal-docs/**","ciam/guides/env-settings/inject-client-ip.md","CLAUDE.md",".claude/**","**/images/**"],"hide":false}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"citrix-sharefile-integration","__idx":0},"children":["Citrix ShareFile integration"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Integrating Citrix ShareFile with Frontegg allows your application to authenticate users via OAuth 2.0 and interact with their ShareFile accounts — browsing folders, uploading and downloading files, managing shares, and accessing account information on their behalf."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ShareFile issues OAuth credentials per account through its API Key generator. In addition to the standard ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client ID"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Secret"]},", ShareFile is scoped to a per-account control-plane host, so you also provide your account ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["subdomain"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API control plane"]}," when configuring the integration."]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"Prerequisites","type":"attention"},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A Citrix ShareFile account with API access (OAuth 2.0 enabled)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Permission to generate API keys for your account at ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://api.sharefile.com/"},"children":["api.sharefile.com"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"connect-citrix-sharefile","__idx":1},"children":["Connect Citrix ShareFile"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-1-open-the-sharefile-api-key-generator","__idx":2},"children":["Step 1: Open the ShareFile API Key generator"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Go to ",{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://api.sharefile.com/"},"children":["api.sharefile.com"]}," and sign in with your ShareFile account. In the left menu, open ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Get an API Key"]},". The ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Your API Keys"]}," page lists any existing keys. Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create New"]},"."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/sharefile-1.afce1f26f43f4b24739366cbc5066c7171ed8f4cf3d7c18a87eddce7c71db224.1ce25488.png","alt":"ShareFile API Key generator"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-2-register-a-new-application","__idx":3},"children":["Step 2: Register a new application"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["On the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API Key Generator"]}," page, fill in the form:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Application Name"]}," — a name for your application, for example ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Frontegg Integration"]}," (do not include the word \"ShareFile\")."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]}," — an optional description of the application."]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Redirect URI"]}," — your Frontegg Redirect URL, which must use HTTPS and match the authorization request exactly:"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://YOUR_MCP_GATEWAY_URL/integration-callback"]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Generate Api Key"]}," to create the application."]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/sharefile-2.b514680801990ccfb0ec05fc72696c8d346faf2fa6707a7c27a78ae8cde047cb.1ce25488.png","alt":"Register a ShareFile application"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-3-copy-the-client-id-and-client-secret","__idx":4},"children":["Step 3: Copy the Client ID and Client Secret"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Back on the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Your API Keys"]}," page, your application appears in the list with its ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Id"]}," and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Secret"]},". Copy both values for use in the Frontegg portal."]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"Keep your credentials secure","type":"attention"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Never share or commit your Client Secret to version control."]}]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/sharefile-3.ace38a8e40a9f65737fb64d831cdad630fbb293ba3c7de32f37db3e48357aae6.1ce25488.png","alt":"ShareFile Client ID and Client Secret"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":4,"id":"step-4-note-your-subdomain-and-api-control-plane","__idx":5},"children":["Step 4: Note your subdomain and API control plane"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ShareFile scopes the API to your account's control-plane host, so the integration also needs two account-specific values:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Subdomain"]}," — your ShareFile account subdomain. It appears in the top bar of the API portal and in your account URL — for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mycompany"]}," from ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["https://mycompany.sharefile.com"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API control plane"]}," — your account's API host. US accounts use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sf-api.com"]},"; EU accounts use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sf-api.eu"]},"."]}]},{"$$mdtype":"Tag","name":"LightboxImage","attributes":{"isLightbox":true},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/sharefile-4.7170fa6f6af313eab4bd3eadcf4b5ee7b2055d32f4964824402674f738d497ce.1ce25488.png","alt":"ShareFile subdomain"},"children":[]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"configure-the-frontegg-portal","__idx":6},"children":["Configure the Frontegg portal"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Once you have your ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client ID"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Secret"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["subdomain"]},", and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API control plane"]},", configure the integration in the Frontegg portal:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Frontegg portal"]}," and navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[ENVIRONMENT]"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Integrations"]}," → ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Citrix ShareFile"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Id"]}," in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client ID"]}," field and the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Secret"]}," in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Client Secret"]}," field."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Enter your ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["ShareFile subdomain"]}," (for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["mycompany"]},") and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["API control plane"]}," (for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sf-api.com"]},")."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save"]},"."]}]},{"$$mdtype":"Tag","name":"Notification","attributes":{"title":"Scopes","type":"info"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Frontegg requests the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["sharefile:restapi:v3"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["openid"]}," scopes during authorization to access the ShareFile REST API. There is no separate scope-selection screen in the API Key generator."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"additional-resources","__idx":7},"children":["Additional resources"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://api.sharefile.com/"},"children":["ShareFile API documentation"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://api.sharefile.com/gettingstarted/oauth2"},"children":["ShareFile OAuth 2.0 guide"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/agen-for-work/connectors/redirect-url"},"children":["How to get your Redirect URL"]}]}]}]}]},"headings":[{"value":"Citrix ShareFile integration","id":"citrix-sharefile-integration","depth":2},{"value":"Connect Citrix ShareFile","id":"connect-citrix-sharefile","depth":3},{"value":"Step 1: Open the ShareFile API Key generator","id":"step-1-open-the-sharefile-api-key-generator","depth":4},{"value":"Step 2: Register a new application","id":"step-2-register-a-new-application","depth":4},{"value":"Step 3: Copy the Client ID and Client Secret","id":"step-3-copy-the-client-id-and-client-secret","depth":4},{"value":"Step 4: Note your subdomain and API control plane","id":"step-4-note-your-subdomain-and-api-control-plane","depth":4},{"value":"Configure the Frontegg portal","id":"configure-the-frontegg-portal","depth":3},{"value":"Additional resources","id":"additional-resources","depth":3}],"frontmatter":{"category":"Storage","displayName":"Citrix ShareFile","seo":{"title":"Citrix ShareFile integration"}},"lastModified":"2026-07-21T14:46:50.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/agen-for-work/connectors/marketplace/sharefile","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}