Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Canvas on LangGraph Cloud direction #196

Open
peanutdev opened this issue Nov 11, 2024 · 1 comment
Open

Open Canvas on LangGraph Cloud direction #196

peanutdev opened this issue Nov 11, 2024 · 1 comment

Comments

@peanutdev
Copy link

I would appreciate it if anyone can point me in the right direction for getting this up and running in LangGraph Cloud. I have a LangSmith Plus subscription. I am new at this.

It appears https://opencanvas.langchain.com/ is running in Vercel, so I did the same. But notices localhost:3000.

I added NEXT_PUBLIC_API_URL to Vercel and the API URL from LangGraph Platform when I deployed my private repo, the same which is deployed at Vercel. Then I see localhost:3000 is replaced with the API URL but that is http status 403.

Thank you

@bracesproul
Copy link
Collaborator

@peanutdev to run this in production, fork this repo, deploy on langgraph cloud setting these environment variables:

  • ANTHROPIC_API_KEY
  • OPENAI_API_KEY

Then, deploy to vercel and set these environment variables:

  • NEXT_PUBLIC_API_URL (this should be the production domain + /api e.g https://opencanvas.langchain.com/api
  • LANGGRAPH_API_URL the api url from your LangGraph Cloud deployment
  • LANGCHAIN_API_KEY required for authing to your LangGraph Cloud deployment
  • NEXT_PUBLIC_SUPABASE_ANON_KEY - for auth
  • NEXT_PUBLIC_SUPABASE_URL - for auth

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants