LangChain 1 · Setup

Set the provider API key

The integration reads the key from an environment variable. Use your own key and keep it out of source control.

export ANTHROPIC_API_KEY="your-api-key"

Official LangChain 1 documentation

More setup commands

All setup commands · LangChain 1 cheatsheet

Was this page helpful?