URL checklist
Replace the placeholder domains before you configure Meta.- Nudgra OSS
- Nudgra Cloud
| Purpose | Value |
|---|---|
| App URL | https://your-domain.com |
| Instagram business login redirect URL | https://your-domain.com/api/meta/callback |
| Webhook callback URL | https://your-domain.com/api/meta/webhooks |
| Verify token | Same value as META_VERIFY_TOKEN in .env |
Required permissions
Add these Instagram business permissions in the Meta app:1. Create the Meta app
Meta dashboard labels move over time. If a label has changed, look for the Instagram Login or Instagram messaging setup area.
2. Add Instagram testers
Add every Instagram account you want to test with before the app is fully reviewed or used by real users. Inside your Meta app dashboard:- Go to App roles.
- Click Roles, not Test users.
- Click Add People.
- Choose Instagram Tester.
- Add the Instagram accounts you want to automate with Nudgra.
- Open Instagram in a desktop browser.
- Go to Settings.
- Go to Website permissions.
- Go to Apps and Websites.
- Open Test invites.
- Accept the invite.
The Website permissions area may not appear on mobile. Use Instagram on a computer when accepting tester invites.
3. Add permissions
In the Meta app dashboard:- Go to Use cases.
- Open the Instagram use case.
- Go to API setup with Instagram login.
- In Add required messaging permissions, add the required permissions.
4. Publish the app
Webhooks need the app to be published for real delivery. In the Meta app dashboard:- Go to Publish.
- Add a privacy policy URL.
- Fill any required basic fields.
- Publish the app.
5. Copy app credentials
Return to your app in Meta for Developers, then:- Go to Use cases.
- Click Customize or open the Instagram use case.
- Open API setup with Instagram login.
- Find Instagram app ID and copy it.
- Reveal Instagram app secret and copy it.
6. Set environment variables
- Nudgra OSS
- Nudgra Cloud
Put the Meta values in Restart after editing
.env:.env:7. Configure webhooks
In API setup with Instagram login, open Configure webhooks.- Nudgra OSS
- Nudgra Cloud
Set:
A plain browser request to the webhook URL may return
403 because it is missing Meta verification query parameters. Use Meta’s Verify and save button as the real verification check.8. Configure Instagram business login
In API setup with Instagram login, open Set up Instagram business login.- Nudgra OSS
- Nudgra Cloud
Set:
9. Connect Instagram in Nudgra
- Nudgra OSS
- Nudgra Cloud
Open your deployment, sign in with an email in
OPERATOR_EMAIL_ALLOWLIST, then:- Go to Manage Accounts.
- Click Add account.
- Complete the Instagram permission screen.
- Allow profile/media access, comment access, and message access.
- Confirm that the account appears as connected and active.
10. Verify delivery
After the account is connected:- Send a real test DM, comment, or story reply from another Instagram account.
- Confirm that the contact appears in the dashboard.
- Confirm that conversations, automations, and logs update.
- Check webhook logs if nothing appears.
A connected account means OAuth and token storage worked. It does not prove that the app-level webhook callback is correct. Always send a real event after setup.
Common mistakes
- Using the Next.js app URL for Nudgra Cloud webhooks. Use the Convex site URL instead.
- Adding the Google OAuth redirect URL in the Meta dashboard. Meta needs
/api/meta/callback. - Forgetting to accept the Instagram tester invite from Instagram on desktop.
- Forgetting to publish the Meta app before testing real webhook delivery.
- Subscribing to the wrong webhook fields.
- Setting
META_VERIFY_TOKENin one place but pasting a different token in Meta.