Top
Generate ShareFile Credentials
  • 20 Mar 2024
  • 1 Minute To Read
  • Dark
    Light
  • PDF

Generate ShareFile Credentials

  • Dark
    Light
  • PDF

Article summary

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.

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.

  2. In the API Key Generator page, enter the Application name.
    SF_app_name

  3. Select the I don't know or will not use a Redirect URI checkbox.
    SF_rediredt_URI

Note

This generates a Redirect URI automatically.

  1. Click Generate API Key.
    sharefile_generate_key2

  2. Once generated, the credentials and URI are displayed under the Your API Keys section.
    Sharefile_api_keys

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=


Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.