> For the complete documentation index, see [llms.txt](https://docs.ixhello.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ixhello.com/ixhc/apps/app-templates.md).

# App Templates

## **Objective**

This document will help you to create an App using an App Template for Amazon Lex using the iX Hello platform.

Before setting up a custom app, you should have Amazon, Lex, and iX Hello accounts. For steps to create these accounts, click [here](/ixhc/channels/amazon/create-amazon-developer-account.md), [here](/ixhc/apps/lex-publishing-auto-manual.md), and [here](/ixhc/general/ix-hello-create-account-original.md) respectively. Next, you need to have you Amazon security profile setup. For detailed steps to do this, click [here](/ixhc/apps/lex-publishing-auto-manual.md).

## **Steps**

1. Import App template
2. Publish App to Lex
3. Activate app
4. Test the app

## **Import App Template**

Download the following template file content, copy and it in notepad and save as a JSON file.

{% file src="/files/9REETe1SRsmhCYOTn8y8" %}

<div align="left"><figure><img src="/files/KMLOydsIwobIqdEt8MxK" alt="" width="563"><figcaption></figcaption></figure></div>

<figure><img src="/files/3Tx1l9ijS3f5ZiyUKvtz" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/j9rAouuVGAfDHpZVdnjy" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/BXcmPjlJFlVy21GieFiu" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/Z1uFnrssHaRddmoVd0Oz" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/ZEd4aoazpbUAta9bproi" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/2wedoEMkZmKO75fwOuOe" alt=""><figcaption></figcaption></figure>

1. Download the following template file content, copy and it in notepad and save as a JSON file.

{% file src="/files/JowdbYSDMZxVQRmTApJa" %}

2. On the left panel, open **Apps**, then **App Templates**, and select **Import Templates**.

<figure><img src="/files/fU5XZIqxhlzyw8Lmds1J" alt=""><figcaption></figcaption></figure>

3. Import the downloaded template from Step 1 above. Provide a **Template Name** and click on **Save**.

<figure><img src="/files/kUMnKHL93jUbqhorhKTO" alt=""><figcaption></figcaption></figure>

4. After the template has been successfully imported, you can see it under Apps > App Templates.

<figure><img src="/files/wYVfSq50DCYecdIACHVq" alt=""><figcaption></figcaption></figure>

5. On the new row, click on **Create App** to create the new App from the imported template.

<figure><img src="/files/RUIpEpQpP26lpBTmnRlY" alt=""><figcaption></figcaption></figure>

6. Fill in **App Name**, a short description of the app (optional), and click on **Create App**. The Selected Template field is already populated.

<figure><img src="/files/QkHyrnjknCIvYoVqSQyK" alt=""><figcaption></figcaption></figure>

7. You can expect following message after successful app creation. Close the Success window.

<figure><img src="/files/kdhfjBC7Z8J1UnixF9yT" alt=""><figcaption></figcaption></figure>

8. Click on **View App** at the top of the page. A list of the Custom Apps will appear. Open the newly created App by clicking on the Name.

<figure><img src="/files/3dAdpmM3hhb2BYp6KTsH" alt=""><figcaption></figcaption></figure>

## **Publish App to Lex**

1. Go to the Publish Tab. You can now publish the App to multiple iX Hello supported channels. Here, we are going to publish the app to Amazon Lex.

<figure><img src="/files/9173tktUqOzTHwm4EKae" alt=""><figcaption></figcaption></figure>

2. Select the Amazon LWA account to publish the app and click on **Publish to Lex.**

<figure><img src="/files/jV0EYsDPWAi9xaDUxhJF" alt=""><figcaption></figcaption></figure>

3. The following success message shall appear.

<figure><img src="/files/aAgQWU8PDgUuk8pqG559" alt=""><figcaption></figcaption></figure>

4. Select the Amazon LWA account to publish the app and click on ‘Publish to Lex’.

<figure><img src="/files/qnS3r54c6EwAkfMTdhuw" alt=""><figcaption></figcaption></figure>

<div align="left"><figure><img src="/files/SkaZyiDAiYArvppyvuXT" alt="" width="563"><figcaption></figcaption></figure></div>

5. Click on Go to Lex app in Step 11 or Login to “developer.amazon.com” and choose the link “Lex”.

<figure><img src="/files/C9FLEag9OwQpCHQbUTIq" alt=""><figcaption></figcaption></figure>

Once clicked on "**Test Lex Bot**", you will be redirected to App Publishing screen, and the Test Bot will appear at the right corner showing the App name along with the welcome message:

<figure><img src="/files/4WHdEbwC1HDHyHmVBVYn" alt=""><figcaption></figcaption></figure>

Query the bot with the Utterance "Find contact for person" and then provide the contact-name of whom you would like to see the phone number, for ex: type Leanne Graham. Bot will provide the response with the full name and the phone number.

<figure><img src="/files/UolOtjO8B9qcuSgde4C9" alt=""><figcaption></figcaption></figure>

Congratulations!

You have successfully completed Publishing an app using App Templates on Lex.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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/apps/app-templates.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.
