What you will have
A ready-made chat app runs on your laptop.You can start sending and receiving Instagram DMs in two minutes.
Install and authenticate
Start sandbox session
Clone and run starter kit
Change it, restart it, and keep testing with the HookMyApp test account.
Listen for messages
--path /webhook/instagram is the route in your local chat app that receives the DMs.
Send test message
You can also DM the sandbox Instagram account from your connected account.
DMs appear in the starter kit chat. Reply from the chat input when you want to test sending.
Connect Instagram account
Sign in, choose the Instagram account, and grant the messaging permissions.
List channels
Pull account env values
.env with values for your connected account.Your app gets a send URL, your Instagram account ID, and a channel token.
Use it to send from your connected Instagram account.
The receiver code does not change.
Listen locally to account
--path /webhook/instagram is the route in your local chat app that receives the DMs.Stop the CLI with Ctrl-C when you are done. Real DMs to your connected account now arrive on your laptop.
You can reply from the starter kit chat with your connected account too.
Set deployed webhook URL
Next steps
- Connect Instagram: Connect your Instagram professional account.
- Send text: Send your first Instagram DM.
- Receive webhooks: Verify the signature and acknowledge fast.
- Build with AI: Let Cursor, Codex, or Claude Code do this for you.