--- title: "Generate ShareFile Credentials" slug: "generate-sharefile-credentials" updated: 2026-08-12T11:46:11Z published: 2026-08-12T11:46:11Z canonical: "support.whatfix.com/generate-sharefile-credentials" stale: true --- > ## Documentation Index > Fetch the complete documentation index at: https://support.whatfix.com/llms.txt > Use this file to discover all available pages before exploring further. # Generate ShareFile Credentials Integrating ShareFile with Whatfix enables you to fetch and display content from your ShareFile repository as contextual links in Self Help and Task List widgets. You can fetch either all the content or only the content in particular folders. You need the following prerequisites from ShareFile to integrate content with Whatfix: - Client ID - Client Secret - Authorization Code In case of confidentiality, create a dummy employee account with limited folder permissions to generate the necessary credentials. **Create a new employee in ShareFile** > [!WARNING] > Note: > > Only a ShareFile user with an Admin account can create a new employee ID. **Generate the Client ID and Client Secret** Use the following steps to generate the necessary credentials in ShareFile: 1. Log in to the [ShareFile API Generator](https://api.sharefile.com/login?displayMessage=1&page=oauthclient). 2. In the **API Key Generator** page, enter the **Application name**. ![SF_app_name](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/SF_app_name.png?sv=2026-02-06&spr=https&st=2026-10-15T08%3A14%3A01Z&se=2026-10-15T09%3A14%3A01Z&sr=c&sp=r&sig=nxOl4bZdvd1o3BuTRc4Awh6JV9JCQY5UI2lTBpIDgU0%3D) 3. Select the **I don't know or will not use a Redirect URI checkbox**. ![SF_rediredt_URI](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/SF_rediredt_URI.png?sv=2026-02-06&spr=https&st=2026-10-15T08%3A14%3A01Z&se=2026-10-15T09%3A14%3A01Z&sr=c&sp=r&sig=nxOl4bZdvd1o3BuTRc4Awh6JV9JCQY5UI2lTBpIDgU0%3D) > [!WARNING] > Note: > > This generates a Redirect URI automatically. 1. Click **Generate API Key**. ![sharefile_generate_key2](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/sharefile_generate_key%282%29.png?sv=2026-02-06&spr=https&st=2026-10-15T08%3A14%3A01Z&se=2026-10-15T09%3A14%3A01Z&sr=c&sp=r&sig=nxOl4bZdvd1o3BuTRc4Awh6JV9JCQY5UI2lTBpIDgU0%3D) 2. Once the key is generated, the credentials and URI are displayed under the **Your API Keys** section. ![Sharefile_api_keys](https://cdn.document360.io/a268766e-d74d-4619-9613-e2472f809ffb/Images/Documentation/Sharefile_api_keys.png?sv=2026-02-06&spr=https&st=2026-10-15T08%3A14%3A01Z&se=2026-10-15T09%3A14%3A01Z&sr=c&sp=r&sig=nxOl4bZdvd1o3BuTRc4Awh6JV9JCQY5UI2lTBpIDgU0%3D) **Generate the Authorization code** > [!WARNING] > Note: > > The Authorization code generated is valid only for 10 minutes and must be handed over to a Whatfix representative before the code expires. Use the following steps to generate the Authorization code, 1. Copy and paste the following URL in your preferred browser. > [!WARNING] > Note: > > Replace with the **Client ID** and with the **Redirect URI** generated earlier. ```plaintext https://secure.sharefile.com/oauth/authorize?response_type=code&client_id=&redirect_uri=#Credentials ``` 1. Log in to the same Sharefile account that you used to create the credentials. 2. After you log in, copy the URL that appears on your browser. > [!WARNING] > Note: > > The value of the code parameter in the URL is the Authorization code. https://secure.sharefile.com/oauth/oauthcomplete.aspx?code=****&subdomain=sunenterprise&apicp=sharefile.com&appcp=sharefile.com&pwc=False&h=454Zd6y3cLV+d06bUNzcSSMHVnMIOGtTOAQJD7DtL+Y=