Skip to main content
Anthropic logo

Anthropic

Overview

Anthropic provides developers with access to advanced AI models designed for natural language understanding and generation. By leveraging the capabilities of Anthropic's models, you can build applications that can engage in conversations, generate text, summarize information, and much more.

Setting up Anthropic

Create an access token

To get started with the Anthropic API, you will need to obtain an API key. To get an API key:

  1. Log in to the Console
  2. Navigate to the API Keys section within your Account Settings
  3. Click the Create Key button on the top right
  4. Give your key a descriptive name (e.g., “My_First_Claude_App”) and click Create Key
  5. Copy the generated API key and configure your integration's connection

The Anthropic APIs gives you access to the following models.

  • Claude 3.5 Sonnet
  • Claude 3 Opus
  • Claude 3 Sonnet
  • Claude 3 Haiku

Add integration

Once you have an access token, you're ready to set up your Superblocks integration.

  1. In the web app, navigate to the Integrations page
  2. Click on the Anthropic tile
  3. Name the integration
  4. Paste your credentials into the relevant fields
  5. Optionally, add more configurations to set credentials for different environments
  6. Click Create
success

Anthropic connected Now you can use Anthropic in any Application, Workflow, or Scheduled Job.

Use Anthropic in APIs

Once your Anthropic integration is created, you can start calling Anthropic actions in Superblocks APIs.

Anthropic actions are REST requests. To learn more about REST requests in Superblocks, see the Building REST requests guide.

Certain Anthropic actions support streaming. Learn more about building APIs in Superblocks that

stream data from REST APIs

.

Supported actions

Create a Message

Send a structured list of input messages with text and/or image content, and the model will generate the next message in the conversation. The Messages API can be used for either single queries or stateless multi-turn conversations.

Generic HTTP Request

Every SaaS integration in Superblocks comes with a built in Generic HTTP Request Action. This is a powerful action you can use to call Anthropic API endpoints not in the Superblocks supported actions.

To use this action simply add the method, path, required query parameters, and body for the desired endpoint.

info

Learn more about REST requests in Superblocks in our Building REST requests guide.

Generic HTTP Requests use the authentication set up and base URL you've configured for your integration, making it an easy for your team to extend Superblocks Integrations to meet their needs.