Skip to main content
LangSmith is LangChain’s platform for tracing and evaluating LLM applications. Connect your workspace to ClosedLoop AI to put what your LLM application actually does alongside every other source of customer truth.

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

  1. In LangSmith, open Settings, then API Keys
  2. Click Create API Key
  3. Choose Service Key as the key type
  4. Set Expiration Date to Never
  5. Click Create, then copy the key and save it somewhere safe: LangSmith only shows it once
The expiration field defaults to a dated option. If you pick anything other than Never, the connection stops working on that date and you will need to reconnect with a new key.
Look at the URL you use for LangSmith:
  • smith.langchain.com means your workspace is in the US region
  • eu.smith.langchain.com means your workspace is in the EU region
Pick the matching region when you connect. Choosing the wrong one is the most common reason a valid key is refused.
  1. In ClosedLoop AI, go to Integrations
  2. Find LangSmith and click Connect
  3. Paste your LangSmith API key
  4. Select your region, US or EU
  5. Click Connect
Your key is checked against LangSmith and stored securely, scoped to your workspace and region.

Troubleshooting

Connect LangSmith

Set up your LangSmith integration in the ClosedLoop AI dashboard