Overview
Torii integrates with LangSmith and syncs:
- Users and licenses from your LangSmith organization, including invited users who have not yet accepted.
- You can constantly stay updated with application information from our Integrations Page >> Integration Capabilities button >> Integration Capabilities table.
Requirements
Accounts & Permissions
- A LangSmith user with one of these organization roles: Organization Admin, Organization Operator, Organization User or Organization Viewer. All of them can view the organization's members.
Required keys
To connect this integration, we require the following:
- API Key
- Region
How to Generate the Required Values
Step 1: Create an API key
- Sign in to LangSmith as a user with one of the roles listed under Accounts & Permissions. The Organization Viewer role is enough.
- Go to Settings and open the API Keys section.
- Select Personal Access Token as the key type. A personal access token has the same permissions as the user who creates it.
- Choose when the key should expire, or select never.
- Click Create API Key.
- Copy the key.
Important
LangSmith shows the API key only once. Copy it and store it somewhere safe before you close the window.
Step 2: Find your region
Look at the address you use to open LangSmith in your browser, and pick the matching option in Torii:
| Address you use to open LangSmith | Region to select in Torii |
|---|---|
| smith.langchain.com | US |
| eu.smith.langchain.com | EU |
| apac.smith.langchain.com | APAC |
| aws.smith.langchain.com | US (AWS) |
How to Connect the Integration
- Go to the Integrations page in Torii.
- Search for LangSmith and click Connect.
- Enter the API Key and select your Region.
- Click Connect.
Q&A
Q: Can I connect more than one LangSmith organization?
A: Yes. Each connection syncs one LangSmith organization: the one the API key belongs to. To sync another organization, connect LangSmith again with an API key from that organization.
Q: Does Torii sync my LangSmith workspace roles?
A: No. Torii syncs each user's organization role (for example, Organization Admin). Workspace roles are not synced.
Q: Why don't I see a last-used date for LangSmith users?
A: LangSmith's members API doesn't provide usage or last-activity data, so Torii syncs users, roles and licenses only.
For any further questions, please contact Torii Support.