Set up Meta* and connect Instagram*
Create a Meta* app and connect your Instagram* account to Director.
Before you start
Open your Director admin panel and keep it in a separate tab. You will need Facebook* and Instagram* accounts.
This guide connects your own Instagram* account. Creating your first automatic reply will be covered in the next guide.
The screenshots show the Russian interface. The steps below describe the corresponding controls in English.
1. Create a Meta* app
Open My Apps in the Meta* developer dashboard. If this is your first visit, Meta* may ask you to register as a developer. Sign in with Facebook* and complete the registration steps to reach your app list.
Click Create App.

Enter an app name and a contact email, then click Next. Choose a name you will recognize; our example uses IDir.

On the Use cases step, choose Business messaging, select the use case for managing Instagram* messages and content, then click Next.

On the Business step, select your business portfolio. It will manage the app: its administrators can change the app settings and roles.

If you do not have a portfolio, click Create a business portfolio. Enter its name, your first and last names, and your business email, then create it. Skip this form if you selected an existing portfolio.

On the Requirements step, our setup showed No requirements found, so we continued. If Meta* shows additional requirements, leave a comment in the Director channel with a screenshot that hides personal details and secrets. We can look at what differs in your case.
Review your details on the Overview step and finish creating the app.
On the app dashboard, open the customization step for the Instagram* messages and content use case.

2. Create a login configuration
Select API setup with Unified login on the left. Under Configure your app, click Create new configuration.

The dialog already sets these template values:
- System-user access token (SUAT).
- No token expiration.
These values cannot be edited in this dialog. Click Create from template.

A Configuration ID will appear next to the new configuration name. Copy it: Director will need it as config_id in the next step.

Use a token with no expiration. Director does not automatically renew Unified Login tokens with a limited lifetime.
3. Copy the app keys into Director
In Meta*, open App settings → Basic. Find the App ID and App secret. Click Show to copy the secret.

In Director, open Meta app*, select Unified Login, and enter:
- Meta App ID*: the app ID from Meta* basic settings.
- Meta App Secret*: the secret for that app.
- Configuration ID (config_id): the number from the previous step.
Click Save.

The adjacent Instagram Login* option is for previously configured apps. Choose Unified Login for this guide. The app ID and configuration ID are different numbers; copy each into its own field.
Director will show the values to copy back into the Meta* dashboard. Use the copy buttons to the right of the fields.

Do not publish or share your app secret, verification token, or access tokens.
4. Add the redirect URL
Copy the Redirect URL from Director. In Meta*, return to API setup with Unified login → Configure your app.
Paste the address into the field for registering a new redirect URL and click Save. The saved address will appear in the list, along with a confirmation message.

5. Configure webhooks
Webhooks deliver Instagram* events to Director. In the same Meta* section, expand Configure webhooks and copy two values from Director:
- Callback URL into the callback URL field.
- Verify token into the verification token field.
Leave the client certificate switch off and click Verify and save.

After verification, Meta* will show the webhook fields. Subscribe to these four:
comments;messages;messaging_postbacks;messaging_seen.
Each of the four fields should show an active subscription.

Return to Director. In the verification panel on the right, run the address check and refresh the Meta* verification status. You should see a successful address check and the date Meta* verified your webhook.

6. Add the privacy policy URL
Copy the Privacy policy URL from Director. In Meta*, open App settings → Basic and paste it into the privacy policy URL field. Click Save changes at the bottom of the page.

7. Add your Instagram* as a tester
Return to API setup with Unified login, expand Generate access tokens, and click Add account.

Click Continue in the dialog. Meta* says the account must be professional and public. If you have a personal Instagram* account, switch it to a professional account in Instagram* settings first.
In the next dialog, select the Instagram Tester* role, find your Instagram* username, and click Add.

Open Instagram* in a browser, under Apps and Websites, and sign in to that same account. Open Tester Invites, find your app, and click Accept. In our example, the invitation is named IDir-IG.
We recommend doing this in a browser: we could not find this tab in the Instagram* mobile app.

We did not need to publish the Meta* app to connect our own account this way. You do not need to manually generate or copy an access token into Director either.
8. Connect Instagram* in Director
In Director, open Accounts and click Connect Instagram*.

On the Meta* screen, choose Continue with Instagram*.

Confirm sign-in to the account you added as a tester.

The sign-in choice screen may briefly reappear. In our setup it moved to the next step by itself after a short pause. Wait for it to continue.
Choose the business portfolio where Meta* lists the Instagram* account you want, then select that account. Leave Ad Accounts · Optional empty; an advertising account is not needed for this connection. Click Continue.

This portfolio can differ from the one chosen when creating the app. That choice set who manages the app; this one grants access to Instagram*. If the same portfolio lists the account you need, select it. You do not need to move your app or Instagram* just to make the names match.
Check the app name and selected Instagram* account. On the permissions screen, click Save and wait to return to Director.

Your Instagram* will appear under Accounts with an active status.

The connection is complete. Creating an automatic reply and testing it with a comment will be covered in the next guide.
Troubleshooting
Meta* does not verify the webhook
Copy the URL and token from Director again. Run the address check: your installation must be reachable over HTTPS from the internet. If your server address changed, update the URLs in Meta* too.
Your Instagram* is missing from the list
Check which account you signed in to, the selected portfolio, and whether you accepted the tester invitation. If the account is not listed in that portfolio, check your access to it in Meta Business Suite*.
You forgot which portfolio manages the app
Open App roles → Roles in the Meta* developer dashboard. The Meta Business Suite* account block shows which business manages the app.
You saved the keys, but Instagram* has not appeared
Open Accounts → Connect Instagram* and finish signing in. Saving the app keys alone does not connect your Instagram* account.
If you have questions, leave a comment in the Director channel. Tell us which step you reached and include a screenshot without personal details, secrets, or tokens.