Instagram Integration
Connect your AI agent to Instagram Business. Publish content, manage comments and DMs, track insights, and research hashtags through the Instagram Graph API.
What your agent can do
Full Instagram Business account management through the Graph API.
Content publishing
Publish photos and carousels to your Instagram feed. Your agent can schedule posts, add captions, and tag locations.
Comment management
Monitor and reply to comments on your posts. Auto-respond to common questions, hide spam, and escalate sensitive topics.
DM replies
Read and respond to Instagram Direct Messages. Handle customer inquiries, send quick replies, and manage conversation flow.
Story and post insights
Pull engagement metrics for posts, stories, and reels. Track reach, impressions, saves, and profile visits over time.
Hashtag research
Search and analyze hashtag performance. Discover trending hashtags in your niche and optimize your content strategy.
Secure API access
Your Instagram Graph API token is encrypted with AES-256-GCM. All API calls go through your agent's sandboxed environment.
Prerequisites
- An Instagram Business or Creator account (not a personal account)
- A Facebook Page linked to your Instagram account
- An app in the Meta Developer Portal with Instagram Graph API enabled
- An Instagram Graph API token with instagram_basic and instagram_content_publish permissions
Instagram API access requires a linked Facebook Page. If you do not have a Page, you can create one specifically for this purpose. The Page does not need to be actively used.
Step-by-step setup
Connect your Instagram account to ClawTrust in about 15 minutes.
Switch to an Instagram Business or Creator account
In the Instagram app, go to Settings, then Account, and switch to a Professional account. Choose either Business or Creator. This is required for API access.
Link your Instagram account to a Facebook Page
In Instagram Settings, go to Linked Accounts and connect a Facebook Page. The Instagram Graph API routes through Facebook, so this link is required.
Create an app in the Meta Developer Portal
Go to developers.facebook.com, create a new app, and add the Instagram Graph API product. Configure the required permissions: instagram_basic, instagram_content_publish, and instagram_manage_comments.
Generate an Instagram Graph API token
Use the Graph API Explorer to generate a long-lived token with Instagram permissions. You will also need your Instagram Business Account ID from the API response.
Add credentials in ClawTrust
Open your agent's dashboard, go to Credentials, and click Add Credential. Select "Instagram" and paste your token and account ID. ClawTrust encrypts them before storage.
Your agent is live on Instagram
Your agent can now publish content, reply to comments, and manage DMs. Test it by asking your agent to post a photo or check recent comments.
Credential details
Instagram uses Bearer token authentication through the Facebook Graph API.
Instagram Graph API Token
A long-lived token granting access to your Instagram Business account through the Facebook Graph API. Expires every 60 days unless using a system user token.
Instagram Business Account ID
The numeric ID of your Instagram Business account. Found via the Graph API by querying your linked Facebook Page.
All credentials are encrypted with AES-256-GCM and stored in ClawTrust's secrets vault. They never touch the tenant VPS directly.
Example actions
Once connected, try asking your agent any of these:
"Post this photo to our Instagram feed with the caption..."
"Reply to all unanswered comments on our last 3 posts"
"Check our DMs for any customer questions"
"Pull our post engagement stats for this week"
"Find the top trending hashtags for [industry]"
Ready to automate your Instagram?
Connect your Instagram Business account in minutes. Secure token storage on every plan.