How to request the Chatbot

The moment is there! You're going to make the Trengo Chatbot ready for use πŸ€–πŸŽ‰.

By going to, you can click on the green plus sign (+) to create the first Chatbot.


When you create a Chatbot, you'll first be asked which language (Chatbot language) the Chatbot should understand. This is important, so the Chatbot can give good suggestions in the selected language.

Select channels
In addition, you're asked on which channels the Chatbot will work. Select the relevant channels such as Website chat, Facebook, Twitter and/or Telegram. Once you've requested and/or linked channels in Trengo, you can select the relevant channels here.

You don't have to worry that the Chatbot will be active immediately. You can first set up the Chatbot on your own and publish it at a later time. The Chatbot won't be active on the selected channels yet. In the meantime, you're able to fill it with information and extensivly test it.

Client access via Google

To connect the Chatbot to the Machine learning technique from Google, it's necessary to request the Chatbot client access from Google (Dialogflow). Follow the steps below to create the Chatbot:

Generating token and secret in Diagflow:

  1. Go to and login with a Google account.
  2. Give Dialogflow access to the Google account and click on "Allow".
  3. Accept (if agreed upon) the conditions by clicking "Accept".
  4. Click on "Create agent" in left menu.
  5. Come up with a name for the Chatbot, select the desired languages, click on "Create" and wait for the Chatbot to be created.
  6. Once it's been created, click on the gearwheel icon in the left menu next to the arrow.
  7. Set the "API VERSION" to "V2 API" and click "Save".
  8. Next click on the link of the Project ID (see image).
  9. This link navigates to Google's "Cloud console". You may first be asked to agree to the Terms and Conditions to continue.
  10. Click in the console, in the menu on the left, on "IAM & Admin" and then choose "Service accounts".
  11. Create a new Service Account. 
  12. Give the Service Account a name and a short description (for example, the name of the Chatbot) and proceed to step 2.
  13. In step 2, provide the Service account with the roles Dialogflow API Admin and Dialogflow API Client (to be searched in the search window) and continue to the next step.
  14. It is not necessary to grant users access to this account. Skip this part and choose "Create Key".
  15. Indicate that the Keytype is "JSON" and click on Create.
  16. A file is now downloaded, open this and copy the content.
  17. Paste the code that is just copied within Trenog in the Google Cloud Key field.
  18. Click on Create Chatbot. 
  19. Go back to the cloud console (click on the Google cloud console to go back to the homepage) and navigate in the menu on the left to "APIs & Services" -> "Dashboard".
  20. Click on "Enable APIs and Services".
  21. In the next screen, search for "Dialogflow API" and make sure it is "enabled".

How to get the Chatbot going

Once this has happened, you can start using "Smalltalk" and your own questions. Read more about how you can activate "Smalltalk" and why we recommend this.