BentoFlow
Get started
BentoFlow

Gemini CLIBentoFlow

Plan your Instagram week
from Gemini CLI.

Use the documents in your working folder to outline a week of content and compare it with the drafts in BentoFlow.

Connect Gemini CLI.

Paste the prompt into Gemini CLI for help connecting BentoFlow.

Send this to Gemini CLI
Help me set up BentoFlow in Gemini CLI. Use the steps at https://www.bentoflow.com/agents/gemini-cli/, then list my Instagram accounts with GET https://www.bentoflow.com/api/v1/accounts. Use BENTOFLOW_API_KEY from your runtime as a bearer token and keep it private.

Manual Setup

Your agent needs a terminal or HTTP tool that can reach BentoFlow over HTTPS.

  1. Create a read-only member key

    Open Advanced: Create a manual key in API & agents. Choose the workspace with your Instagram account and select Read only. Save the token in your agent’s secret store or environment.

  2. Give the agent runtime access

    Start Gemini CLI from a shell with BENTOFLOW_API_KEY loaded. Review the account check when Gemini asks to run it with the shell tool. If the session is sandboxed, its shell also needs the key and outbound HTTPS.

  3. Verify access

    Run the account check below from that same runtime and confirm the response lists your Instagram accounts.

Account check
curl --fail-with-body \
  -H "Authorization: Bearer $BENTOFLOW_API_KEY" \
  https://www.bentoflow.com/api/v1/accounts

Use the same bearer token with GET /api/v1/posts to review drafts and scheduled posts.

To connect an Instagram account, open BentoFlow Channels.

Gemini CLI setup documentation

Manage BentoFlow access

From first draft to live post.

Draft & edit

Save captions to a connected Instagram account and refine them in BentoFlow before they go live.

Schedule & publish

Attach compatible media, check the account and post, then choose a time or publish with permission.

Plan comment-to-DM flows

Draft a keyword trigger and a DM reply with your agent. Review and activate the flow in BentoFlow.

Instagram workflow
Gemini CLIExample prompt
Read the campaign notes in this folder. Compare them with the Instagram drafts in BentoFlow and suggest a three-post plan. Keep my drafts unchanged.
@studio.notesExample result

Studio posts

Open with a studio preview, follow with a behind-the-scenes carousel, then close the week with a reminder.

Read only

Frequently asked questions

What can my agent access?

With Read only access, your agent can list your connected Instagram accounts and review drafts and scheduled posts. BentoFlow limits access to the connected member’s permissions and any workspace selected for the connection.

How do I enable editing or publishing?

Create a new manual key with the permissions you need, replace the saved key in your agent, and revoke the old key. Choose Manage drafts for editing or Read & write for scheduling and publishing if your workspace role allows it.

Can I remove access?

Revoke the manual key under Agent credentials in BentoFlow’s API & agents settings.