In my 15 years of developing software, I’ve realized two things excite me.
- Working with cool technology.
- Making money from my work with cool technology.
The problem with chatbots?
In this blog post we’re pleased to announce phase two. Here we’ll walk you through the process of getting started, setting up a Chatfuel integration or setting up a Node.js integration, training your product database & linking your chatbot settings to your Amazon Affiliate ID.
You will need to do a few things before you’re able to start monetizing your bot empire. First thing you need is a bot, if you have one great, if you don’t then visit Chatfuel.com and sign up. Use one of their helpful templates to get started quick.
Next, head over to cashbot.ai and get started, you’ll create an account via email or Facebook ID.
Step One: Account Creation
After you’ve created an account, you’ll need to register an application or a chatbot within the cashbot.ai settings. Technically all you need to do to get provisioned an API is provide a name. You can create a description and select the integration & recommendation sources you plan to use and select submit (see Figure 1).
Total time spent, 35 seconds.
Figure 1. Name your chatbot, include integrations & recommendation sources optionally.
Once submitted, you’ll be issued an API key. You’ll also notice tabs and set up guidance (see Figure 2)
Figure 2. API key is provisioned and can be used immediately
Step 2: Connecting your Affiliate Account
This is how you get paid, so it’s an important step.
Select the Amazon tab and enter your Affiliate tracking ID. The cashbot.ai Amazon service will insert your ID into the all product that are used to make recommendations from your account. If you don’t have an affiliate account we’ve provided links to sign up (see Figure 3).
Total time spent, 10 seconds.
Figure 3. Include your affiliate ID and submit.
Step 3: Product Training
Once you’ve shared your affiliate ID, it’s time to train the cashbot.ai platform on which product segments you’d like to start recommending to your users. Each chatbot begins with a large product database based on a handful of weighted parameters. These products are shared with you in a preview field and you can toggle from product to product to preview what’s inside your database.
To begin the training process, simply enter product keywords, as many as you like and select save. Confirm your keywords and your preview database will refresh. Toggle across the carousel to see your products, select refresh to see other products or add new key wordsagain to increase the weighted preference towards the products your key words generated (see Figure 4, 5 & 6).
Figure 4. Here we start with a default set of products
Figure 5. Next we’ve entered a half dozen key words to generate a database filled with basketball apparel.
Figure 6. After we’ve refreshed the Carousel a couple times the database & preview contains basketball apparel & athletic gear. Go Celtics!
Total time spent, two minutes & thirty seconds.
Step 4: Integration
The final step is to integrate the cashbot.ai platform into your chatbot, which can be done using Chatfuel, Node.js or a RESTful interface. Your API key will be available and formatted correctly in each integration tab.
Select a tab and you’ll see a handful of modifications to the style of recommendation that can be made. Each modification will automatically update the API call. Simply paste where appropriate, in the case of Chatfuel, within the JSON API plug-in(Figure 7 & 8).
Total time spent, 45 seconds.
To help folks get started, we put together a Chatfuel template with all the blocks and NLP key words set up and ready to go, all you need to do is paste your API key in each block. Email email@example.com to get a link.
Yup that’s it!
Please share this with all your friends!
If you run into any issues, please reach out to us at firstname.lastname@example.org. Thanks we love you!