# Facebook

The integration with Facebook Messenger allows the bot created to be responsible for all the conversation initiated in this channel. Be a user by logging into your Facebook page or chatting directly through the Facebook Messenger application.

The first step of the integration is to click on the **Login with Facebook** button so CosmoBots can have access to your page. This access is necessary so that the page can be configured to accept the conversations with the bot created in CosmoBots.

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LSnqDgLbXBccdKMOdEJ%2F-LTbcoFQEG3rkUfEVnoe%2F-LTbcp7eflZ7Qt6ugc2n%2Fimage.png?alt=media\&token=e4495383-47ed-4d44-9ec9-dccc9925b1ca)

The second step is to choose your Facebook page. Because you can have multiple pages, the purpose here is to define which page will be used by the Bot. By confirming this step Bot will already be available for conversations on your Facebook. If you want to revoke this access, simply go back to the previous step and click Revoke.

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LSnqDgLbXBccdKMOdEJ%2F-LTbcoFQEG3rkUfEVnoe%2F-LTbdb09M3opRaqIGMoo%2Fimage.png?alt=media\&token=c4fe0a42-b9ef-480e-84bf-107d0fa5ea67)

The third step is to set a welcome message for when the user first interacts with your Bot. That is, when it clicks the **Get Started** button.

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LSnqDgLbXBccdKMOdEJ%2F-LTbcoFQEG3rkUfEVnoe%2F-LTbdfBXqIQy1FmAglPF%2Fimage.png?alt=media\&token=b535f4b4-61c9-4695-a408-b5a8669fb454)

The fourth step is to define a menu with options that will always be available to the user during the bot conversation. The idea is that it serves as a shortcut for the user if he wants to change the subject of the conversation considerably.

![](https://blobscdn.gitbook.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LSnqDgLbXBccdKMOdEJ%2F-LTbcoFQEG3rkUfEVnoe%2F-LTbdj5IzSwk0f202MrO%2Fimage.png?alt=media\&token=162d7cf3-21a4-46f5-815f-b17f9bccc919)
