> This page is for Glide Classic.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://www.glideapps.com/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://www.glideapps.com/docs/_mcp/server.

# Claude

> Generate text using Claude AI models.

[Claude](https://claude.ai/login?returnTo=%2Fnew%3F) is an AI assistant made by Anthropic that can help with writing, analysis, coding, math, and conversation. The Claude integration allows you to create content and automate text generation tasks directly in your Glide apps.

> **Claude Model Options**
>
> Anthropic makes multiple models available for Claude. [You can compare the options here.](https://platform.claude.com/docs/en/about-claude/models/overview)

## **Adding the Claude Integration**

#### Claude: Adding the Claude Integration

You'll need to create a [Claude Developer](https://platform.claude.com/) account if you haven't already.

In the Claude console, head to the [API keys page](https://platform.claude.com/settings/keys) and create a new API key. **Once you close the window, you cannot view the key again.** Save this key in a safe place.

In Glide, click the [Settings](/docs/getting-started/app-settings) icon in the upper-right corner.

Navigate to the [Integrations](/docs/automation/integrations) tab and select Claude.

Select **Add.**

Paste your Claude API key.

## **Using the Generate Text Action**

The **Generate Text** action sends a message to Claude and returns the AI-generated response.

The action can be added to a [Component](/docs/essentials/components) that supports Actions (e.g., a [Button component](/docs/essentials/components/button)), added to a workflow in the [Workflow Editor](/docs/getting-started/introduction-to-workflows#the-workflow-editor), or in the Data Editor as a Computed Column.

#### Data Editor

#### Claude: In the Data Editor

Open the table where you want to use the [Generate Text](/docs/automation/ai/generate-text)action.

Add a new column by clicking the (**+**) plus symbol to the right of the table.

* New columns added with the plus button will always appear on the right. If you'd like to add a column somewhere else in your data, you can select the dropdown menu on an existing column and choose **Add column right.** You can also click and drag columns to rearrange them.

Name your column.

Search for **Claude** or navigate to **Integrations → Claude → Generate Text.**

Configure the **Message** field with the prompt or question you want Claude to respond to.

Select a **Model.**

Configure optional advanced settings:

* **System Prompt:** Instructions that guide Claude's behavior and tone
* **Max Tokens:** Maximum length of the generated response
* **Temperature:** Controls response creativity (lower = focused, higher = creative)
* **Top P:** Alternative way to control response randomness

Select **Save**.

#### Layout Editor

#### Claude: In the Layout Editor

Create a text column in the Data Editor to store Claude's results.

Add a component that supports actions such as [Button](/docs/essentials/components/button), [Hint](/docs/essentials/components/hint), or [Rich Text](/docs/essentials/components/rich-text).

In the configuration panel on the right, in the **Actions** menu, search for the **Claude > Generate Text** action.

Name the action and choose an icon.

Configure the **Message** field with the prompt or question you want Claude to respond to.

Select a **Model.**

Configure optional advanced settings:

* **System Prompt:** Instructions that guide Claude's behavior and tone
* **Max Tokens:** Maximum length of the generated response
* **Temperature:** Controls response creativity (lower = focused, higher = creative)
* **Top P:** Alternative way to control response randomness

Choose the column you prepared to store Claude's response.

Click away to save your configuration.

#### Workflow Editor

#### Claude: In the Workflow Edfitor

Select the (**+**) plus symbol or the **+ New Workflow** button.

Select the data source for the table where the action is triggered. This may need to be inside of a Loop, depending on your trigger type.

Search for the **Generate Text** action.

Name the action and choose an icon.

Configure the **Message** field with the prompt or question you want Claude to respond to.

Select a **Model** from the dropdown.

Configure optional advanced settings:

* **System Prompt:** Instructions that guide Claude's behavior and tone
* **Max Tokens:** Maximum length of the generated response
* **Temperature:** Controls response creativity (lower = focused, higher = creative)
* **Top P:** Alternative way to control response randomness

Choose the column you prepared to store Claude's response.

Click away to save your configuration.

## **Rate Limits**

Claude API has rate limits that vary based on your Anthropic account tier. These limits apply when using Claude through Glide. [Learn more about Claude API rate limits.](https://docs.anthropic.com/en/api/rate-limits)

## Frequently Asked Questions

#### Don't see the Claude integration?

You may need to upgrade your plan. [Browse Glide's plans and find the right fit for you.](https://www.glideapps.com/pricing)

#### Which Claude model should I use?

Claude has a variety of models to choose from. [You can read more about each model and compare them here. ](https://platform.claude.com/docs/en/about-claude/models/overview)