Installation

Once you have found or constructed a chatbot you wish to deploy to your website or elsewhere, grab your API key and use the appropriate code snippet to deploy this chatbot to the web.

Chatbots and conversations will be hosted on our systems and made publicly available by default. To host on your own hardware/cloud instance, or to privatize your chatbots and user conversations on our servers, contact our sales team.

What you need

You will need the following items:

  • Your system prompt
  • Your prompt (variable for user input)
  • Your API key
  • The source ID for your model

You can find the API key and source ID on the dashboard of your model. For help with crafting your prompt and system prompt, check out our prompt engineering guide.

Code snippets

Here’s how to deploy and integrate LLMs in production environments that use Javascript, Python, Java, PHP, Rust, or Go.

Make sure to replace YOUR_API_KEY with your API bearer token, YOUR PROMPT with your LLM prompt, YOUR MODEL SOURCE ID with your model ID, and YOUR_SYSTEM_PROMPT with the system prompt you wish to use in production.

Join our Discord Community

Have questions or ideas56? Join the community!