Step 3: Embed the code in WordPress to Display Your Chatbot Widget
Click on the ‘Code Snippets’ labeled menu item in your WordPress admin bar, and it will open the ‘All Snippets’ page.
Then, click on the ‘Add New’ button, and this will bring you to the add snippet page.
Click on the ‘+Add Custom Snippet’ button.
Then, choose the code type from the list of options that appear on the screen, and click on JavaScript in our case.
Now, enter a title for the custom code snippet and paste the copied code for the chatbot, and save the snippet.
Then you will see 2 options to insert, you can select the ‘Auto Insert’ method, and the snippet will be automatically inserted and executed on your site.
Now you can preview your site to see the embedded Robylon’s chatbot there.