This connector has been created using Instagram API, it shows how to incorporate eva conversational flow.
This application is a Spring Boot app and uses the Azure Kubernetes Service (AKS) to deploy to Azure.
- Facebook developers account
- Instagram enterprise account
- eva bot
- Facebook Configuration
-
First of all, it is necessary to have a business app created at https://developers.facebook.com/ and click the option My Apps.
-
Once the app is open, inside the panel, look for the Instagram Grap API and select Configure. In the left bar, select the option Messenger and then, Instagram setup.
-
In Token access, select the facebook page and instagram channel you want to connect. The Instagram account must be previously linked to a Facebook page. You can only link Instagram accounts that are business.
-
Once selected the facebook page, instagram channel and have given corresponding permissions, you must click on Generate token.
-
After generate the token, scroll down to add the webhook. This webhook allows you to send and receive the messages between eva and instagram. Webhook should have two services: Get and post. Both of services must have the same name.
-
The Get service is used to answer the validation of the service, doing a two-factor authentication with a token generated by a keyword. As for the post method, it is a way to send messages to Instagram
-
Once you add webhook services (get and post) you can see the facebook pages asociated, like this:
-
At the end of the associated Facebook page, you will find the edit button, click and select the permissions "messages" and "messaging_postbacks":
With this you have configured and working your facebook.
- Instagram Configuration
-
We select the option Messenger> Instagram Settings
- eva Configuration
-
To create a bot you must select. -- Upload avatar -- Write a name -- Select a NLP -- Select a Language -- and Select a Channel > Instagram
- With the flow trained and working, we need to connect it to Instagram, for which we go to the option Parameters


- Test connector












