> ## Documentation Index
> Fetch the complete documentation index at: https://docs.conversion.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Public Files

> Configure your slug, verify your domain, and add the allowed origins used to serve public files.

The **Public files** settings are where you configure how your [public files](/product-docs/content/public-files) are served. Setup has three steps, completed in order:

1. Set a **business slug** for your business.
2. Verify ownership of your **domain**.
3. Add one or more **allowed origins** (custom domains) to serve files from.

You can serve public files from Conversion's default domain at any time. The steps below are only needed if you want to serve files from your own domain.

## Business slug

Your business slug is a unique, human-readable identifier for your business. It appears in the URL for public files served from your own domain. For example: `https://assets.yourcompany.com/a/your-business-slug/your-file`.

To set it, open the **Business slug** card and click **Set up** (or the edit icon to change it). Business slugs must be unique and can only contain letters, numbers, hyphens (`-`), underscores (`_`), and periods (`.`).

## Domain

Before you can add a custom domain, you must verify that you own it. Open the **Domain** card and click **Set up DNS** to view the record to add:

| Field       | Value                                   |
| ----------- | --------------------------------------- |
| **Type**    | `TXT`                                   |
| **Name**    | `<businessId>._conversion.<yourdomain>` |
| **Content** | `conversion-businessid=<businessId>`    |

Add this TXT record at your DNS provider, then return to the dialog and click **Verify**. Once the record is found, the domain shows a **Verified** badge.

## Allowed origins

Allowed origins are the domains Conversion is permitted to serve your public files from. This section becomes available once your slug is set and your domain is verified.

To add one, click **Add origin** and enter a subdomain (for example, `assets`). The full origin is your subdomain plus your verified domain, such as `assets.yourcompany.com`.

At your DNS provider, point that subdomain at Conversion with a CNAME record:

| Field      | Value                          |
| ---------- | ------------------------------ |
| **Type**   | `CNAME`                        |
| **Name**   | your subdomain (e.g. `assets`) |
| **Target** | `conversion-files.com`         |

Each allowed origin must be a subdomain of your verified base domain. Once added, the origin becomes selectable when [sharing a public file](/product-docs/content/public-files#sharing-a-file).

<Note>
  The CNAME must have a valid SSL certificate issued for it so that files can be served securely over HTTPS.
</Note>
