> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Instagram in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/meta-instagram
Last updated: 2026-11-24

Share Instagram with your team in Claude, ChatGPT and Cursor through Metorial: OAuth sign-in, 10 tools (7 read-only).

---

To give your team Instagram in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Instagram integration in a Metorial portal, and each person signs in to Instagram with their own account. Agents can publish photos, videos, Reels, Stories, and carousels to Instagram. The integration has 10 tools, 7 read-only and 3 write, plus 2 triggers.

**What you will learn**

- How an admin shares Instagram in a portal and how each person connects
- The 5 OAuth scopes Instagram can request, and what each one allows
- How to keep the 7 read-only tools and reject the other 3

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- An account with Instagram for each person who connects
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

| Method | Type | What a person provides |
| --- | --- | --- |
| **Instagram Login** (default) | OAuth | Signs in to Instagram |
| **Facebook Login for Business** | OAuth | Signs in to Instagram |

The portal and `metorial setup` use **Instagram Login** unless someone picks another method.

### Instagram Login

People sign in to Instagram and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `instagram_business_basic` | Basic Access | Read basic profile and media data |
| `instagram_business_content_publish` | Publish Content | Publish media to Instagram |
| `instagram_business_manage_messages` | Manage Messages | Manage direct messages |
| `instagram_business_manage_comments` | Manage Comments | Manage comments on media |
| `instagram_business_manage_insights` | Manage Insights | Access analytics and insights |

### Facebook Login for Business

People sign in to Instagram and approve the scopes you allow. The integration can request:

| Scope | Name | What it allows |
| --- | --- | --- |
| `instagram_basic` | Instagram Basic | Read basic Instagram profile and media data |
| `instagram_content_publish` | Publish Content | Publish content to Instagram |
| `instagram_manage_comments` | Manage Comments | Manage comments on Instagram media |
| `instagram_manage_insights` | Manage Insights | Access analytics and insights |
| `instagram_manage_messages` | Manage Messages | Manage Instagram direct messages |
| `pages_show_list` | Pages List | List managed Facebook Pages |
| `pages_read_engagement` | Pages Read Engagement | Read Page metadata required to resolve linked Instagram accounts |
| `pages_manage_metadata` | Pages Metadata | Manage page metadata (required for webhooks) |

### Setup settings

Whichever method you pick, setup also asks for:

- `apiVersion` (optional): Instagram Graph API version (e.g. v21.0)

## Use your own Instagram OAuth app

With your own OAuth app, people see your company's name on the Instagram consent screen, and the client ID and secret belong to you.

1. **Start the credentials in Metorial**

   In the dashboard, select **Settings**, then **Organization Settings**. Under **Integrations and MCP**, select **Provider Auth**, then **Create Auth Credentials**. Choose Instagram and copy the **Redirect URI**.

2. **Register the app with Instagram**

   Create an OAuth app or client in Instagram and add the redirect URI from Metorial as its redirect or callback URL.

3. **Finish in Metorial**

   Copy the app's client ID and client secret. Back in Metorial, enter a **Name**, the **Client ID** and the **Client Secret**, review **Scopes**, and select **Create**. Then pick these credentials for the Instagram integration.

## Admin: share Instagram in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Instagram. Under **Auth Method**, keep **Instagram Login** or pick another. For how members connect, choose **Each person connects**, so everyone signs in to Instagram as themselves.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Instagram.

4. **Choose who gets it**

   Add the access groups that should see Instagram. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Instagram integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search instagram
```

## Employee: connect Instagram

### In the portal

1. **Open Instagram in the catalog**

   Sign in to your portal and open Instagram. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**. An Instagram sign-in tab opens. Sign in and approve the permissions listed.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search instagram
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **Instagram Login**. To connect with **Facebook Login for Business** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your Instagram connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list instagram
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 7 read-only tools, such as `get_media` and `get_profile`, and lose the 3 write tools, such as `send_message` or `publish_media`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list instagram
metorial tools <integration-id>
metorial call <integration-id> get_profile -d '{}'
```

`metorial tools` lists the 10 tools, minus any you rejected. `get_profile` takes no input. It retrieves an Instagram Business or Creator account's profile information including username, biography, follower/following counts, and media count.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (7)

- `get_profile`: Retrieve an Instagram Business or Creator account's profile information including username, biography, follower/following counts, and media count.
- `get_media`: Retrieve Instagram media.
- `search_hashtags`: Search for recent or top public posts tagged with a specific hashtag. Needs `hashtag`.
- `get_mentions`: Retrieve posts where your Instagram account has been tagged or @mentioned.
- `get_insights`: Retrieve analytics and performance insights for an Instagram account or specific media post.
- `get_stories`: Retrieve currently active (non-expired) stories from an Instagram account.
- `get_publishing_limit`: Retrieve the authenticated Instagram professional account's current API content publishing quota usage for the rolling publishing window.

### Write tools (3)

- `send_message`: Send a direct message to an Instagram user, or send a private reply to a comment. Needs `action`.
- `manage_comments`: Create, retrieve, reply to, delete, or hide/unhide comments on Instagram media. Needs `action`.
- `publish_media`: Publish media to Instagram. Needs `mediaType`.

## Triggers

Instagram has 2 triggers, which fire on events in Instagram:

- `webhook_events`: Receives real-time webhook notifications from Instagram for comments, mentions, story insights, and direct messages.
- `new_media`: [Polling fallback] Triggers when new photos, videos, reels, or carousel posts are published to your Instagram account.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Instagram there
- [Create custom OAuth credentials](https://metorial.com/docs/platform/integrations/create-custom-oauth-credentials): the Provider Auth screens in more detail
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Instagram on metorial.com](https://metorial.com/integrations/meta-instagram): the integration overview