Overview
Torii integrates with ShareFile and syncs:
- Users and licenses from the Employees (named users) in your ShareFile account.
- You can constantly stay updated with application information from our Integrations Page >> Integration Capabilities button >> Integration Capabilities table.
Requirements
Accounts & Permissions
To connect this integration, we require the following:
- A ShareFile account with administrator access.
- Permission to create an API key (an OAuth application) for that account.
Required keys
To connect this integration, we require the following:
-
ShareFile Subdomain - the first part of your ShareFile address. For
acme.sharefile.comthe subdomain isacme. - Data Center - the region your ShareFile account is hosted in: United States or Europe.
- Client ID - from the API key you create in ShareFile.
- Client Secret - from the same API key.
How to Generate the Required Values
Follow these steps to generate the required values:
Step 1: Find your subdomain and data center
- Sign in to ShareFile and look at your browser's address bar.
- The first part of the address is your subdomain. For
acme.sharefile.com, your subdomain isacme. - Use the ending of the address to choose your Data Center in Torii:
| Your ShareFile address ends with | Data Center to select in Torii |
|---|---|
.sharefile.com |
United States (sharefile.com) |
.sharefile.eu |
Europe (sharefile.eu) |
Step 2: Create an API key in ShareFile
- Go to https://api.sharefile.com and click Log In.
- Enter your account subdomain, then sign in with your ShareFile credentials.
- Click Get an API Key.
The ShareFile API portal - On the Your API Keys page, click Create New.
Your API Keys - click Create New - In Application Name, enter
Torii. ShareFile does not allow the word "ShareFile" in the application name. - In Description, enter a short description, for example
Torii SaaS Management Platform. - In Redirect URI, enter exactly
https://api.toriihq.com/api/auth/shareFile/callbackand leave the "I don't know or will not use a Redirect URI" option unselected.The API Key Generator, filled in - Click Generate Api Key.
Important
The Redirect URI must match exactly, including the https:// scheme and with no trailing slash.
A mismatched Redirect URI is the most common reason the connection fails.
Step 3: Copy the Client ID and Client Secret
- Your new application appears in the Your API Keys list.
- Copy the Client Id and the Client Secret. You will paste both into Torii.
Copy the Client Id and Client Secret
Important
Keep the Client Secret private - treat it like a password.
ShareFile allows up to 20 API keys per account.
How to Connect the Integration
- Go to the Integrations page in Torii.
- Search for ShareFile and click Connect.
- Enter your ShareFile Subdomain, select your Data Center, and paste your Client ID and Client Secret.
- Click Connect.
- Sign in to ShareFile when prompted and approve the access request.
Actions
- Create ShareFile user - creates an employee account in ShareFile. The email, first name and last name are taken from the user the workflow runs on, and you supply the Company value.
- Update ShareFile user name - updates an employee's first and last name. Both values are required so an existing name is never replaced with a blank one.
- Delete ShareFile user - permanently removes the employee from ShareFile.
- Add ShareFile user to groups - adds the user to one or more groups, chosen from a list of your ShareFile groups.
- Remove ShareFile user from groups - removes the user from one or more groups.
Q&A
Q: Can I connect more than one ShareFile account?
A: Yes. Each connection is identified by its ShareFile subdomain, so you can connect several ShareFile accounts and each one stays separate in Torii.
Q: Why does a ShareFile user show as "Pending" in Torii?
A: The employee has been created in ShareFile but has not confirmed their account yet (they have not finished signing in for the first time). They still hold a ShareFile seat, so Torii keeps counting them as license-consuming.
Q: Why do disabled ShareFile users still count towards my licenses?
A: ShareFile only frees a seat when an employee is deleted. A disabled employee keeps their seat, so Torii keeps counting them as license-consuming and shows their status as Disabled.
For any further questions, please contact Torii Support.