---
title: "Generate ShareFile Credentials"
slug: "generate-sharefile-credentials"
updated: 2024-03-20T07:54:12Z
published: 2024-03-20T07:54:12Z
---

> ## 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 either fetch 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, you can create a dummy employee account with limited folder permissions to generate the necessary credentials.

 
     Create a new employee in ShareFile
 
    
     

          Note

          

Only a ShareFile user with an Admin account can create a new employee ID.

Once you have logged in to your ShareFile dashboard, use the following steps shown in the slideshow to create a new employee.

[Embedded content](https://cdn.whatfix.com/prod/45dba1cc-fb59-4dee-ab37-a68ac38ca9ad/deck.html?closeable=false&amp;stage=production&amp;state=null&amp;true=undefined&amp;preview_mode_enabled=false&amp;entId=45dba1cc-fb59-4dee-ab37-a68ac38ca9ad&amp;nolive=1&amp;data-wfx-namespace=main_%24#!/398041ec-8057-44ef-af34-1fa0ed0ad2b2/)

 
     Generating 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&amp;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)
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)

          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)
2. Once 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)

 
     Generating Authorization code
 
    
     

          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.

          your title goes here

          

Replace <your_client_id> with the **Client ID** and <your_redirect_uri> with the **Redirect URI** generated earlier.

```
https://secure.sharefile.com/oauth/authorize?response_type=code&client_id=<your_client_id>&redirect_uri=<your _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.

          Note

          

The value of the code parameter in the URL is the Authorization code. https://secure.sharefile.com/oauth/oauthcomplete.aspx?code=**<Authorization_code_generated>**&subdomain=sunenterprise&apicp=sharefile.com&appcp=sharefile.com&pwc=False&h=454Zd6y3cLV+d06bUNzcSSMHVnMIOGtTOAQJD7DtL+Y=
