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

# CMS pages

> Generate content for Terms of Service, Privacy Policy, Contact Us and other store pages with WritePilot, in bulk or individually.

With WritePilot, you can generate content for your Terms of Service, Privacy Policy, Contact Us, and other pages.

You can create content for each page individually or generate content for multiple pages in bulk.

## Generate page content in bulk

**1. Open the Content generation page**

**2. Select the Pages tab**

**3. Find pages (optional)**

Use search to find the required pages.

**4. Select pages**

Select the pages you want to generate content for.

![Pages generation](https://mintcdn.com/amasty/YsXhZcX6NkGxJ7SV/images/pages-grid.jpg?fit=max\&auto=format\&n=YsXhZcX6NkGxJ7SV\&q=85\&s=56c4164750ad2347d5527fb782004dc2)

**5. Choose an action**

* **Generate content** - create content for selected pages with the default prompt;
* **... > Generate descriptions with custom prompt** - provide your own instructions for AI to generate page content. We recommend using our custom prompt templates tailored to specific page types: select a template from the dropdown. **Note:** Make sure to use the `{{ all.item.data }}` and other variables in your prompt to provide AI with relevant information about your store. [Learn more](https://amasty.mintlify.site/sf/writepilot/custom-prompts.md).

> [!NOTE]
>
> To generate content for legal pages, you'll need to disable automated policy generation in Shopify Settings. Go to **Shopify Settings > Customer privacy > Data sharing opt-out page** and disable the **Use automated policy** field toggle.

![Data sharing opt-out page](https://mintcdn.com/amasty/YsXhZcX6NkGxJ7SV/images/settings-customer-privacy.jpg?fit=max\&auto=format\&n=YsXhZcX6NkGxJ7SV\&q=85\&s=92bea462b493825b8a759802e28a9cb2)

**6. Confirm the action**

> [!NOTE]
>
> 1 page content generation = 1 credit.

**7. Preview the results (if enabled)**

If the **Preview before publishing** option is enabled in [Settings](https://amasty.mintlify.site/sf/writepilot/settings.md), you can preview generated content and choose which version to publish.

## Generate page content individually

You can also generate content for each page individually for a more tailored experience.

**1. Open the Content generation page**

**2. Select the Pages tab**

**3. Open the page**

Open the page you want to generate content for.

![Individual page generation](https://mintcdn.com/amasty/YsXhZcX6NkGxJ7SV/images/page-generation.jpg?fit=max\&auto=format\&n=YsXhZcX6NkGxJ7SV\&q=85\&s=3c07aee1f0605cc04519a524e1ab9b92)

**4. Configure individual settings (optional)**

Configure individual settings for the page on the right side.

> [!NOTE]
>
> These settings will override your [General settings](https://amasty.mintlify.site/sf/writepilot/settings.md) for this specific page.

**5. Choose an action**

* **Generate** - create content with the default prompt;
* **Generate with custom prompt** (recommended) - provide your own instructions for AI. We recommend using our custom prompt templates tailored to specific page types: select a template from the dropdown. **Note:** Make sure to use the `{{ all.item.data }}` and other variables in your prompt to provide AI with relevant information about your store. [Learn more](https://amasty.mintlify.site/sf/writepilot/custom-prompts.md).

  ![Custom prompts](https://mintcdn.com/amasty/YsXhZcX6NkGxJ7SV/images/custom-prompts-pages.jpg?fit=max\&auto=format\&n=YsXhZcX6NkGxJ7SV\&q=85\&s=a2ebd0ce4bef44de771251ccc32d892e)
* **Generate based on image** - upload an image to use it as a source for content generation. **Note:** Each image-based generation costs 5 credits. Supported image formats: .jpg, .webp, .png; max file size: 5 MB. The image is used only for generation and is not published as part of the page.
* **Refine** - (available for existing content) improves the grammar, syntax, and wording of existing content.

> [!NOTE]
>
> To generate content for legal pages, you'll need to disable automated policy generation in Shopify Settings. Go to **Shopify Settings > Customer privacy > Data sharing opt-out page** and disable the **Use automated policy** field toggle.

![Data sharing opt-out page](https://mintcdn.com/amasty/YsXhZcX6NkGxJ7SV/images/settings-customer-privacy.jpg?fit=max\&auto=format\&n=YsXhZcX6NkGxJ7SV\&q=85\&s=92bea462b493825b8a759802e28a9cb2)

**6. Save changes**

**Save** changes to publish.

> [!NOTE]
>
> 1 page content generation = 1 credit.

After generation, you can edit the content at any time. All generations are saved in **History**, where you can view or [restore previous versions](https://amasty.mintlify.site/sf/writepilot/restore.md) (if available).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.