Here are a few steps to help you build your first bot.
Create a new account here Optobot Beta
Create a new project (chatbot)
You can create an account & an app on Wit.ai and then add your server token in your new project, or you can just write the project name and Optobot will create a Wit.ai app for you.
Upload your files in the upload screen
Note that it may take few minutes for Wit.ai to be trained.
Test and Try to chat with your bot
You can make modifications to your DSL file and upload it again if needed
When it is ready, click on the release button and let your bot Go Live!
You can integrate with Facebook by linking your bot with your facebook page from the Edit screen
Or/And you can add this widget to your website
Congratulations You have built your First Bot!