Gobot Support Center

Contact Us

How to Install Gobot on your Drupal 8 site

Gobot can work on all websites.  Follow the steps below to get Gobot running on your Drupal 8 site quickly in two steps.


1. Create a bot

The first step is to create your bot and retrieve its embed code.  In Gobot, after clicking Publish and then Instal Gobot, you click Copy to clipboard to copy your embed code.  See the section focused on publishing of this Gobot guide if you require step-by-step instructions.

2. Paste embed code into a custom block in your Drupal 8 site

The second step is to add the Gobot embed code you just copied to your Drupal 8 site.

Head on over to Drupal.com and login into your admin account.

Select Structure from you admin menu.  Next, click Block layout and then Custom block library.

Click the blue button Add custom block.

On the Add custom block screen you’ll complete the following steps (in this exact order!):

  1. Enter a Block description to easily identify this campaign’s block in Drupal, e.g., "Gobot block".
  2. Select Full HTML from the text format dropdown.
  3. Select the Source icon in the Body toolbar.

Now you can paste your Gobot embed into the body of your custom block.

(Please be careful to follow the steps above in order. Note that if you paste the embed code BEFORE changing the Text Format or without choosing Source, the script itself will display on your live site.)

After saving, you’ll be returned to the list view of the Custom block library.

Click the Block layout tab to return to the area where you’ll place your block in the footer region.

Once there, locate a Footer region. If your theme has several footer regions, you can choose any of them.

Click the grey button Place block.

Click the grey Place Block button next to the custom Gobot block you just created.

Configure your custom block by adding a title, e.g., Gobot block". Uncheck the box to display the title.

Save your block.


Your Gobot is now officially connected to Drupal 8!  Go back to the Gobot tab in your browser, click on one of the pre-built bots in the left hand panel (chosen for you based on the goal you indicated in the signup process) or script your bot from scratch, and then click Publish and make live. Next time you visit your Drupal 8 site your new bot will welcome you!


Copyright 2017, Gobot LLC,  All rights reserved.

Powered by HelpSite