This commit is contained in:
Eugene Yurtsev
2024-12-16 21:47:32 -05:00
parent deb99a9acb
commit 79a1ce6804
3 changed files with 19 additions and 17 deletions
+14 -12
View File
@@ -2,27 +2,29 @@
!!! note "Prerequisites"
Before you start, make sure you have the following:
Before you begin, ensure you have the following:
- [A GitHub account](https://github.com/)
- [A LangSmith account](https://smith.langchain.com/)
In this quickstart, we'll deploy a **pre-built** LangGraph application into LangGraph cloud.
- [GitHub account](https://github.com/)
- [LangSmith account](https://smith.langchain.com/)
## Create a repository on GitHub
To deploy a LangGraph application to **LangGraph Cloud**, you need to have your application code in a GitHub repository. Either a public or private repository will work.
To deploy a LangGraph application to **LangGraph Cloud**, your application code must reside in a GitHub repository. Both public and private repositories are supported.
You can deploy any [LangGraph Application](../concepts/application_structure.md) to LangGraph Cloud.
For this guide, we'll use the pre-built Python [**ReAct Agent**](https://github.com/langchain-ai/react-agent) template.
??? note "Get Required API Keys for the ReAct Agent template"
This **ReAct Agent** application requires an API key from [Anthropic](https://console.anthropic.com/) and [Tavily](https://app.tavily.com/). You can get these API keys by signing up on their respective websites.
**Alternative**: If you'd prefer a scaffold application that doesn't require API keys, use the [**New LangGraph Project**](https://github.com/langchain-ai/new-langgraph-project) template instead of the **ReAct Agent** template.
We will use the pre-built python [**ReAct Agent**](https://github.com/langchain-ai/react-agent) template for this quickstart. This application requires two API keys (`ANTHROPIC_API_KEY` and `TAVILY_API_KEY`) to run.
1. Go to the [ReAct Agent](https://github.com/langchain-ai/react-agent) repository.
2. Fork the repository to your GitHub account by clicking the `Fork` button in the top right corner.
??? note "Get API Keys for the ReAct Agent template"
- **ANTHROPIC_API_KEY**: Get an API key from [Anthropic](https://console.anthropic.com/).
- **TAVILY_API_KEY**: Get an API key on the [Tavily website](https://app.tavily.com/).
## Deploy to LangGraph Cloud
??? note "1. Log in to [LangSmith](https://smith.langchain.com/)"