Connection Method
LangSmith uses API key authentication. Both key types work:
You also choose a region. A LangSmith key works only in the region it was created in, so a key issued in the EU is rejected against the US region and the other way round. ClosedLoop AI verifies your key against LangSmith before storing it, so a wrong key or a wrong region tells you immediately instead of failing quietly later.
Setup Guide
Step 1: Create a LangSmith API key
Step 1: Create a LangSmith API key
- In LangSmith, open Settings, then API Keys
- Click Create API Key
- Choose Service Key as the key type
- Set Expiration Date to Never
- Click Create, then copy the key and save it somewhere safe: LangSmith only shows it once
Step 2: Check which region your workspace is in
Step 2: Check which region your workspace is in
Look at the URL you use for LangSmith:
smith.langchain.commeans your workspace is in the US regioneu.smith.langchain.commeans your workspace is in the EU region
Step 3: Connect in ClosedLoop AI
Step 3: Connect in ClosedLoop AI
- In ClosedLoop AI, go to Integrations
- Find LangSmith and click Connect
- Paste your LangSmith API key
- Select your region, US or EU
- Click Connect
Troubleshooting
Connect LangSmith
Set up your LangSmith integration in the ClosedLoop AI dashboard