diff --git a/docs/docs/cloud/deployment/test_locally.md b/docs/docs/cloud/deployment/test_locally.md index 99c1bbcdb..bcb95d2b0 100644 --- a/docs/docs/cloud/deployment/test_locally.md +++ b/docs/docs/cloud/deployment/test_locally.md @@ -10,6 +10,12 @@ Install the proper packages: pip install langgraph-cli ``` +Ensure you have an API key, which you can create from the LangSmith UI (Settings > API Keys). This is required to authenticate that you have LangGraph Cloud access. After you have saved the key to a safe place, place the following line in your `.env` file: + +```python +LANGCHAIN_API_KEY = ********* +``` + ## Start the API server Once you have downloaded the CLI, you can run the following command to start the API server for local testing: diff --git a/docs/docs/cloud/how-tos/index.md b/docs/docs/cloud/how-tos/index.md index c796840a4..37a670af5 100644 --- a/docs/docs/cloud/how-tos/index.md +++ b/docs/docs/cloud/how-tos/index.md @@ -11,10 +11,13 @@ Welcome to the LangGraph Cloud how-to guides! These guides provide practical, st LangGraph Cloud gives you best in class observability, testing, and hosting services. Read more about them in these how to guides: -- [How to set up app for deployment](../deployment/setup.md) +- [How to set up app for deployment (requirements.txt)](../deployment/setup.md) +- [How to set up app for deployment (pyproject.toml)](../deployment/setup_pyproject.md) +- [How to test locally](../deployment/test_locally.md) - [How to deploy to LangGraph cloud](../deployment/cloud.md) - [How to self-host](../deployment/self_hosted.md) + ## Streaming Streaming the results of your LLM application is vital for ensuring a good user experience, especially when your graph may call multiple models and take a long time to fully complete a run. Read about how to stream values from your graph in these how to guides: