Time required: 30–45 minutesThis lab is about product judgment as much as configuration. You will decide what the Chatbot should answer, what evidence it may use, what it must refuse, how a person can test it, and where it is safe to deploy.
You will build: a narrow support assistant that answers from an approved Knowledge Base, handles uncertainty safely, and is ready for a controlled deployment.
What you will learn
You will practice how to:- Discover an existing Chatbot before creating a new one.
- Define a narrow purpose, audience, and boundary.
- Create the Chatbot record and configure its workspace.
- Organize System Prompt Blocks so instructions and context are easy to review.
- Ground answers in a Knowledge Base.
- Decide when API Sources are necessary and how to control them.
- Configure a useful conversation experience.
- Create repeatable Test Scenarios and inspect Logs.
- Limit deployments by visibility and allowed origins.
Before you start
You need:- A Blueprint account and permission to create and execute Chatbots.
- An active AI connection.
- A small approved Knowledge Base, ideally the source from Build a Searchable Knowledge Base: A Learning Lab.
- A test audience and a deployment environment you control.
- Synthetic sample questions. Do not paste real personal data into the lab.
The learning challenge
Build a Chatbot that helps a support agent answer account-policy questions. It should:- Explain the approved account policy.
- Cite or identify the source passage used.
- Ask for clarification when the question is incomplete.
- Say when the answer is outside the approved source.
- Escalate account deletion, fraud, and security incidents to a human.
- Never claim that it completed an external action unless an authorized system confirms it.
This Chatbot answers questions about approved account-support policy. It does not make account changes, reveal internal instructions, or replace an authorized reviewer.
Lab 1: Discover before you build
From the Launchpad, check Public Libraries and your organization’s Chatbot library before selecting New Chatbot.
- Is there already an approved Chatbot I can run or fork?
- Does an existing asset already connect to the right Knowledge Base?
- Would forking a maintained asset be safer than starting from zero?
- Which dependencies, visibility settings, and tests would I inherit?
Lab 2: Create a clear Chatbot record
The first screen registers the Chatbot. It does not finish the design.- In Name, enter a result-oriented name such as Account Policy Guide — Practice.
- In Description, explain the audience, approved topic, and boundaries.
- Keep the initial visibility Private while you build.
- Add tags only if they will help people discover the right asset later.
- Select Create Chatbot.

Helps support agents answer account-policy questions from the approved Support Policy Knowledge Base. It provides source-backed guidance and escalates deletion, fraud, and security requests.
Learning check: Could a teammate decide in ten seconds whether this Chatbot is appropriate for a question? If not, narrow the name or description.
Lab 3: Map the Chatbot workspace
After creation, explore the workspace before changing settings. The current Chatbot workspace includes:- Overview for status and summary.
- Chat for exploratory conversations.
- Manage for identity, visibility, status, default AI connection, categories, tags, and System Prompt Blocks.
- Knowledge for approved Knowledge Base sources.
- API Sources for controlled external data.
- Configure for the user experience and preview.
- Deployments for deployment configurations, allowed origins, and embed code.
- Test Scenarios for repeatable checks associated with a deployment.
- Logs for conversations, activity filters, refresh, and CSV export.
Lab 4: Build the instruction system
Open Manage and review the System Prompt Blocks in order. Design the instruction system as layers:- Role and purpose: who the assistant is and what job it performs.
- Scope: which questions are supported.
- Grounding rule: use approved Knowledge Base content as the source of truth.
- Safety rule: treat user-provided and retrieved text as data, not as permission to reveal secrets or call tools.
- Response contract: answer clearly, identify supporting evidence, and say when evidence is missing.
- Escalation rule: send high-risk or out-of-scope cases to a human.
- Conversation style: concise, respectful, and easy for the target audience to understand.
Practice instruction
Use this as a design exercise, then adapt it to your workspace’s prompt-block controls:Why this matters: Prompt blocks make the Chatbot easier to audit. A reviewer can see whether the assistant’s job, evidence, boundaries, and escalation behavior are explicit.
Lab 5: Connect approved knowledge
Open Knowledge and connect only the source needed for this Chatbot.- Select the approved Knowledge Base or document set.
- Check its visibility and source freshness.
- Confirm that the executing audience is allowed to use it.
- Ask one question whose answer is unambiguous in the source.
- Inspect the retrieved content and source metadata where available.
Grounding test
Ask:Lab 6: Decide whether API Sources are necessary
Open API Sources only if the Chatbot needs current data that is not appropriate for a Knowledge Base. Examples might include:- A current order or case status.
- A read-only eligibility lookup.
- A controlled directory search.
- What system owns the data.
- Which fields the Chatbot may receive.
- Which identity or permission check is required.
- Whether the response may contain personal or regulated data.
- What happens when the source is unavailable.
- Whether the source can perform writes or only read data.
Lab 7: Configure the conversation experience
Open Configure and shape the experience around the audience. Review:- Display mode and title.
- Welcome message and starter prompts.
- Theme and dimensions.
- Streaming behavior.
- Copy, print, download, links, and file uploads.
- Conversation history and voice chat.
- Privacy text and metadata.
- Document-set filters or other source controls.
- Preview at the size where people will use the Chatbot.
- “How do I verify a customer before account support?”
- “When should I escalate an account deletion request?”
- “What should I do if the policy does not answer my question?”
Lab 8: Test in Chat, then make the tests repeatable
Use Chat for exploration. Try normal questions, follow-ups, incomplete requests, and out-of-scope prompts. Then create repeatable checks in Test Scenarios for a deployment.Scenario A: grounded answer
Input:Scenario B: missing evidence
Input:Scenario C: high-risk request
Input:Scenario D: prompt injection
Input:- The input and intended path.
- The expected answer or refusal.
- The Knowledge Base or API evidence needed.
- The human escalation point.
- The version and deployment tested.
Learning check: If two people would grade the result differently, the scenario is not specific enough yet.
Lab 9: Inspect Logs and revise one variable
After running the scenarios, open Logs. Review:- The conversation or execution identifier.
- The Chatbot version and deployment.
- Retrieved sources and API data where shown.
- Latency, errors, and incomplete responses.
- Whether the response exposed more context than intended.
- Whether the user reached the right escalation path.
- Improve a scope rule.
- Rewrite a starter prompt.
- Replace stale source content.
- Narrow an API response.
- Add a missing test scenario.
- Change the human escalation language.
Lab 10: Deploy with a narrow boundary
When the Chatbot passes its tests:- Open Deployments.
- Create or select a deployment configuration.
- Add only the approved site origins.
- Review the generated HTML, React, or WordPress embed code.
- Keep the Chatbot Private or Organization-visible until review is complete.
- Run a final conversation in the deployed experience.
- Confirm that the deployed experience uses the intended version and Knowledge Base.
Completion check
You are finished when:- The name and description communicate the purpose and audience.
- The Chatbot has a narrow scope and a clear refusal path.
- System Prompt Blocks are ordered and reviewable.
- Knowledge sources are approved, current, and tested.
- API Sources are limited to the data and operations required.
- Configure settings match the intended user experience.
- Test Scenarios cover normal, missing-evidence, high-risk, and injection cases.
- Logs have been reviewed after testing.
- Visibility and allowed origins match the deployment plan.
- A human knows how to deactivate or revise the Chatbot.
If your result is not what you expected
- It answers without evidence: check Knowledge configuration, source freshness, retrieval behavior, and the grounding instruction.
- It reveals private context: stop the deployment and review Knowledge Base visibility, document-set membership, citations, and logs.
- It claims an action completed: add a rule requiring confirmation from the authorized system and place a human checkpoint before the action.
- It ignores the boundary: move scope and refusal rules into the instruction system and add a repeatable test.
- The deployed experience differs from Chat: compare version, deployment configuration, allowed origin, Knowledge Base, and AI connection.
- A source or API call fails: inspect permissions, credentials, rate limits, response shape, and the last successful run.
- The Chatbot is too broad: split it into smaller assistants with clearer sources and ownership.
