Intwixt includes several prebuilt bot templates to help you get started and ensure everything is working properly. In this blog post, I'll detail how to import your first bot--a simple "Hello World" test bot that responds with a static phrase each time you message it.
Create a Facebook Page
Whether you're building a chat bot for your personal use or for your business, you'll need to first create a page. If you already have a page (not your personal page), you can skip this step.
Log in to Facebook and navigate to https://www.facebook.com/pages/create
When the page loads, choose a page type that best represents your business (any choice will work). Follow the configuration instructions as prompted by Facebook.
Register for an Intwixt Account
Intwixt offers a free, introductory tier when building bots. It grants you the right to build 3 bots and call up to 1,500 activities per month. You can register at https://my.intwixt.com/#/register or open your Messenger app and search for Intwixt to register using our chatbot, Tobi. Ask for a free trial, and Tobi will walk you through the rest.
Import a Messenger Bot
Once registered, sign in to Intwixt at https://my.intwixt.com to view your list of bots. If this is your first time signing in, your list will be empty and you'll be prompted to choose a prebuilt bot template. Choose the "Hello World (Messenger)" template.
You will next be prompted to create your Facebook page (or confirm that you already have one). Check the box confirming that you have completed this step, and then click NEXT. (Please note that this article only details how to create a test/development connection. In a future blog entry, we will detail the steps required to create a production connection for your Messenger Bot and the steps necessary to get Facebook approval.)
Confirm your Pending Credentials
When your Intwixt account was first created, we auto-generated your Facebook Messenger credentials in a pending state. Confirm them by selecting Click Here to Confirm.
The Update Credential dialog will load. Click UPDATE to contact Facebook for approval.
The Facebook OAuth dialog will now load, prompting you to grant permission to Intwixt to act on your behalf when answering messages. Grant approval as directed.
Once you've authorized Intwixt to answer messages on your behalf, you must choose which page to target.
The Import Bot dialog will now load. Click Next as prompted until you reach the final wizard screen and create your bot. Choose Activate to enable it.
Test your Bot
Test your bot by opening your Messenger App and searching for your Facebook page by name (in this example I titled my Facebook Page, "My Personal Bot"). Send a message and wait for a reply.
With your bot now running, it's time to evolve it to meet your needs. Or choose a different prebuilt bot. When it comes time to move your bot into production and share it with others, remember to upgrade your credential to a production version. We will detail the steps involved in a future blog post.