Challenge 1: First Agent On The Scene
Introduction
This challenge is all about setting up and getting our agent configured.
Description
First, download the files we’ll be using in the rest of this gHack from this link. Unzip the zip file and keep the files handy, they will be needed in upcoming challenges.
Note You can even use
wget
to download the files directly to the Cloud Shell and keep everything there.
Create a new agent in the Conversational Agents Console. Test your agent with a simple “Hello” message.
Use the Conversational Messenger Integration to create a chat bubble on the provided agent-page.html
page so that your agent is reachable via a web page.
Host the webpage on a webserver running in CloudShell and test it in a browser to make sure the chat bubble appears and works.
Success Criteria
- An agent is created in your project
- The agent can respond to an “Hello” message
- The agent widget running on
agent-page.html
is also responding to “Hello” messages in the same way
Tips
- Don’t forget! You can upload files to your Cloud Shell and even expose ports to make it available in your browser.