# Hosting

Hosting allows you to run (or preview) your NLX application outside the workspace, either using NLX’s built-in Touchpoint hosting or by embedding your assistant on your own domain. Whether you want a quick readymade environment for demos or a fully customized production setup, hosting ensures your application is accessible through a secure deployable interface powered by your app’s latest build.

NLX offers two ways to host your AI application:

| Hosting option                    | Description                                                                 | Best for                                              |
| --------------------------------- | --------------------------------------------------------------------------- | ----------------------------------------------------- |
| NLX-hosted Touchpoint             | NLX hosts your app on `conversational.app.` No development work required    | Quick previews, demos, stakeholder reviews, QA        |
| Your own domain (via API channel) | Your site calls the NLX API. This provides full control over UX and styling | Production deployment, custom UI, branded experiences |

Key things to keep in mind:

* Production apps typically use self-hosting with domain whitelisting and the NLX Touchpoint SDK
* Voice+™ works in both hosting methods, as NLX Touchpoint automatically includes the native Voice channel
* The NLX-hosted Touchpoint doesn't require external implementation but works out of the box

### **NLX-hosted Touchpoint (conversational.app)**

Every NLX application can be hosted as a Touchpoint site at an auto-generated URL on the `conversational.app` domain. This is ideal for:

* Previewing your assistant during development
* Sharing with teammates or stakeholders
* Running QA or usability testing
* Trying out multimodal features (chat + Voice+) using the built-in API and Voice channels

#### **How to enable NLX hosting**

1. Choose *Applications* in workspace menu and select your application
2. Create or select a build (upper right of app page)
3. In Deployment settings, enable Hosting toggle
4. Choose your hosted URL (e.g., `mybusiness.conversational.app`).
5. Deploy your build

Once deployed, simply open the URL to use your app immediately in a fully functional NLX-hosted interface.

### **Host on your own domain (via API channel)**

If you prefer to embed your assistant within your own website, product, or mobile experience, you can self-host using the default API channel that NLX creates for every application. This provides full control over the UX while still benefiting from NLX’s backend runtime.

Every app comes with:

* API channel (REST/WebSocket): For chat, multimodal, and agentic interactions
* Native Voice channel: Enables Voice+™ features directly in your embedded UI
* API key authentication: Ensures secure access
* Domain whitelisting: Prevents unauthorized origins from connecting

#### **How to self-host**

1. Choose *Applications* in workspace menu and select your application
2. Select the API channel under Delivery
3. Add your domain(s) to the Whitelisted domains field (e.g., `example.com`, `app.example.com`)
4. Select *Update channel*
5. Create a build and deploy
6. Choose API channel and select Setup instructions tab in modal. Implement using:
   * [NLX Touchpoint SDK](https://app.gitbook.com/s/2VnkvXtkrR2qhkVBmB1l/conversation-sdk/touchpoint) (recommended, includes UI + Voice+)
   * Your own custom front-end built with [REST/WebSocket](https://app.gitbook.com/s/2VnkvXtkrR2qhkVBmB1l/) calls to the API channel

Once your domain is whitelisted and the API key is configured, your hosted website can securely communicate with your NLX application.
