Skip to navigation

Access Sigma from an AI assistant, agent, or tool

View as Markdown

Sigma supports multiple ways to connect your Sigma organization to AI assistants, coding agents, and chat interfaces. After connecting an AI assistant, you can view, query, edit, and manage content in Sigma with the help of your preferred natural language tool.

This document covers the methods available to connect your organization to AI tools, the features and resources that support your agents in Sigma, and example use cases.

Connect Sigma to an AI assistant

Connect an AI assistant to your Sigma organization so that it can perform analysis, take action, and create new workbooks, reports, and data models.

You can give an AI assistant access to Sigma in the following ways:

Decide how to connect your AI assistant to Sigma

When deciding how to connect your AI assistant to Sigma, consider the tradeoffs for each method.

MethodBest forTradeoffs
MCP serverAsking natural language questions about your data and building workbooks with your existing Sigma accountCan’t administer your organization or create data models
PluginAnalyzing data and building workbooks with skills maintained by SigmaAvailable only for specific AI assistants
REST APIFull programmatic access, including creating documents and administering resourcesRequires working knowledge of the Sigma REST API
CLIREST API access through an intuitive command-line interfaceRequires installation and setup

The REST API and CLI can give agents access to delete content, export data, and perform other sensitive operations. Configure permissions carefully before connecting an agent.

Resources for AI assistants in Sigma

After connecting your AI assistant to Sigma, direct it to the following resources and features to help it act and build in Sigma:

Example agent workflows with Sigma

After you connect your AI assistant to Sigma and give it resources and reference materials, you can describe tasks in natural language and have the assistant analyze data and create documents. Consider the example configurations below for working agentically with Sigma.

Analyze data with the Sigma MCP server

Analyze data from Sigma with the AI assistant you use every day

1

Confirm you have access

Start by making sure your account type has the Use Sigma MCP with OAuth permission enabled. If the permission isn’t enabled, ask an admin to enable it.

2

Connect your AI assistant to the MCP server

Follow the steps in Use the Sigma MCP server to configure the Sigma MCP server with your preferred AI assistant, such as Claude, ChatGPT, Codex, Cortex Code, or Cursor.

3

Start analyzing

After successfully authenticating to the Sigma MCP server, start asking questions about data in your Sigma organization. For suggestions, see Usage examples.

Build workbooks from code with agent skills and the Sigma CLI

Set up your agent to read, manage, and build workbooks autonomously

1

Confirm you have access

Start by making sure your account type has all the right permissions, and that you meet all the user and system requirements for using the Sigma CLI, installing agent skills for Sigma, and managing workbooks as code.

2

Install agent skills for Sigma

Follow the steps to install agent skills for Sigma with the AI assistant of your choice. Agent skills help you install and use the Sigma CLI and provide reference materials that support agents authoring documents as code in Sigma.

3

Set up the Sigma CLI

Install and configure the Sigma CLI or use the sigma-cli skill installed in step two to help you install it. The Sigma CLI allows you to query the Sigma REST API using structured commands, as well as authenticate via OAuth to your Sigma account. This makes it easier for agents to handle authentication, learn about your data, and take action.

4

Ask the agent to create a new workbook

Prompt your AI assistant to create a new workbook for you in Sigma, whether it’s a new version of an existing dashboard or an entirely new workflow. Using the sigma-workbooks skill you installed in step two, and the Sigma CLI, the agent can read reference materials about authoring workbooks as code and query existing content in your Sigma organization to build new documents from scratch.

Continue agentic work in Sigma

Have your AI assistant hand off agentic work to a governed Sigma agent

1

Build a Sigma agent

For agentic workflows that require role-based access control and data security, start by building a Sigma agent and configuring it with data sources, instructions, and actions. This allows your AI assistant to hand off work to a governed Sigma agent that can take action on your behalf without removing any of the security or governance controls in your Sigma organization.

2

Connect your AI assistant to the Sigma REST API

Set up your AI assistant to connect to the Sigma REST API using OAuth or an API key. Consider installing agent skills for Sigma so your assistant can use the sigma-api skill to learn about the Sigma REST API.

3

Call the Run a Sigma agent endpoint

Once your AI assistant is connected to the Sigma REST API, you can call the Run a Sigma agent endpoint to execute the agent’s actions. This allows your AI assistant to interact with the Sigma agent and trigger specific workflows or tasks. Your AI assistant can either wait for the Sigma agent’s response and continue working with the results, or hand off the task and let the Sigma agent complete it in Sigma.