Configure API Keys for Anthropic

Anthropic

In this example, we are using Anthropic to generate the keys.

Note: You will likely need a paid plan and have to pay per usage. See here for up-to-date details and pricing.

Platforms will always change so this guide may not reflect 100% process.

:information_source: In order to use certain AI modules, users must have an API Key from a 3rd party provider such as OpenAI (ChatGPT), Anthropic (Claude), Stability AI (Stable Diffusion), etc

Please check each AI module to see which 3rd party providers can be used for it.

Obtain the API key

  1. First you will need to request access for Claude
  2. Once accepted, agree to their pricing and terms then you will be able to obtain their API key
  3. Once the key is obtained, store it in a safe and secure place and copy it

Using API key for Discourse AI

  1. Go to Admin settings from the sidebar or profile and then Plugins
  2. Search or find Discourse AI and click settings
  3. Search or find ai_anthropic_api_key and input your copied-over key

6 Likes