# How to Set Up Your answer.cloud Answer Engine

> Canonical source: [How to Set Up Your answer.cloud Answer Engine](https://ai.answer.cloud/pages/how-to-set-up-your-answer-cloud-answer-engine/)

This guide provides step-by-step instructions for configuring the answer.cloud Answer Engine, including DNS setup, website integration, and content publishing. Follow these steps to ensure your AI-powered answer engine is correctly installed and ready to serve users.

## Technical Setup

Follow these steps to integrate the answer.cloud Answer Engine with your website:

### 1. Configure DNS Records

- **Point ai.example.com to answer.cloud**
  - **Type:** CNAME
  - **Name:** `ai`
  - **Value:** `dwid9lli9xbl8.cloudfront.net`


- **Point www to answer.cloud for AI bot tracking**
  - **Type:** CNAME
  - **Name:** `www`
  - **Value:** `dwid9lli9xbl8.cloudfront.net`

- **Optional:** Set up root A and AAAA records as needed for your domain configuration.

### 2. Complete Account Setup with answer.cloud

- answer.cloud will finalize your account setup after DNS records are configured.
- A distribution for `ai.example.com` will be created on llmo-site.
- An SSL certificate for `ai.example.com` must be obtained to ensure secure connections.

### 3. Install the AI Chat Experience

- Embed the AI chat interface on your website according to answer.cloud installation instructions.

```
<script>
    window.aeoSettings = {
        organization_id: <%= @current_organization.id %>,
        // css_path: "https://answer.cloud/example.css"
        chat: {
            enabled: true,
            button_text: "Ask <%= @current_organization.name %> AI",
            button_color: "#000",
            button_text_color: "#fff",
            intro_text: "Hello, welcome to <%= @current_organization.name %>'s AI. How can I help you today?",
        }
    }
</script>
<script src="<%= Rails.application.credentials.url %>/embed.js"></script></textarea>
```

### 4. Update Your robots.txt File

- Ensure your `robots.txt` file is updated to allow appropriate indexing and tracking by the AI engine.

```
User-agent: *
Disallow:
Allow: /

# LLMs Files
# llms.txt: https://ai.example.com/llms.txt
# llms.json: https://ai.example.com/llms.json

Sitemap: https://example.com/sitemap.xml
Sitemap: https://ai.example.com/sitemap.xml
```

### 5. (Optional) Connect to Webflow CMS

- If using Webflow, you may connect your account to host answer content directly in your Webflow CMS.

---

## Content Setup

### 1. Create AI Pages

- Develop question and answer pairs tailored to your audience's needs.

### 2. Publish Content

- Publishing will generate:
  - AI pages
  - An updated sitemap
  - An `llms.txt` file for large language model site indexing

---

> Following these steps ensures a seamless and secure integration of the answer.cloud Answer Engine, providing users with fast and reliable AI-powered answers.
