# Lex Bot using Appointment Blueprint

## Objective

This document shows how to create an app from a Blueprint and test it using Lex.

### Steps

1. Log-in to [bots.ixhello.com](https://bots.ixhello.com)
2. Press Studio Mode on the upper menu.<br>

   <figure><img src="/files/ho5ZHK8sUvGSxf4E4cjy" alt=""><figcaption></figcaption></figure>
3. On the left navigation menu, expand **Apps** then select **App Blueprints**<br>

   <figure><img src="/files/9AULSoQnElbSS40HAhDR" alt=""><figcaption></figcaption></figure>
4. A list of Blueprints appears. For this demonstration, we will select Appointment Booking Assistant. Press **Create App**<br>

   <div align="center"><figure><img src="/files/zglAYFJ3wI16Dk0iOY36" alt=""><figcaption></figcaption></figure></div>
5. The **Create App from Template** page opens. Provide an App Name and Description. The Selected Template field will be prefilled. Press **Create App**.<br>

   <figure><img src="/files/t9MYvoZmyH7aC78UF8Tk" alt=""><figcaption></figcaption></figure>
6. The Create App process has 3 steps. These steps allow the user to customize the content of their app and entity types.
7. The first step checks for duplicate content which may already reside on the platform. If you wish to maintain the existing files, press No. Press **Yes**<br>

   <div align="left"><figure><img src="/files/7hSEslXFX6xITM7cVygx" alt=""><figcaption></figcaption></figure></div>
8. The second page checks for duplicate entities. If any existed, you would be prompted about overwriting them. Once again, press **Yes**.<br>

   <div align="left"><figure><img src="/files/7f6vYOlIp6ccJHjM4lqo" alt=""><figcaption></figcaption></figure></div>
9. On the third screen, press **Submit**<br>

   <figure><img src="/files/ArTvotHf6c9IIsmujoHv" alt=""><figcaption></figcaption></figure>
10. You should get a message saying App Created Successfully. You have the opportunity to modify the App by pressing Customize App but for this example we use the App as created. Press **Publish App**.<br>

    <figure><img src="/files/5PTie0omU03upoDBvYO0" alt=""><figcaption></figcaption></figure>
11. &#x20;The App Publishing Page opens. Locate the new App in the listing.&#x20;
12. Click on the ellipses on the right side of the listing. A menu opens. Select **Test**<br>

    <figure><img src="/files/qcIpIMWNraLRZEs81JkA" alt=""><figcaption></figcaption></figure>
13. A test window opens. Ask the assistant to make an appointment for you<br>

    <div align="center"><figure><img src="/files/9Ho3zmuez6u49K6wwcLy" alt="" width="424"><figcaption></figcaption></figure></div>

**Congrats, you have successfully created a Lex app using Blueprint.**


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ixhello.com/ixhc/blueprints/lex-bot-using-appointment-blueprint.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
