---
title: "Use Clay with Prismic"
description: "Learn how to create personalized landing pages with Clay and Prismic."
category: "integrations"
audience: marketers
index: false
lastUpdated: "2025-12-18T03:33:21.000Z"
---

This guide shows how to integrate Clay with Prismic to create AI-personalized landing pages tailored to any contact or company in your audience.

Prismic offers two [enrichments](https://www.clay.com/glossary/enrichment) in Clay:

1. For non-Prismic users: **Create personalized landing page**
2. For Prismic users: **Create personalized landing page from Prismic**

Both enrichments allow you to use enriched data from Clay to generate landing pages with unique URLs. The generated landing pages can be used in your marketing campaigns.

# Create personalized landing pages

This approach lets you test personalization quickly without needing a Prismic account. You can use any public landing page URL — your homepage, a product page, or even a competitor's page. However, for real (non-test) use cases, we recommend using a Prismic account with the second approach below.

## Configuration

1. **Add the enrichment to Clay**

   In a Clay table, click **Add column** then **Add enrichment**.

   Search for **"Create personalized landing page"** and select the enrichment matching this name.

2. **Fill in the required fields**

   You'll need to map the following fields from your Clay data:

   | Field            | Description                  |
   | ---------------- | ---------------------------- |
   | **Company Name** | The company you're targeting |
   | **First Name**   | Contact's first name         |
   | **Last Name**    | Contact's last name          |
   | **Job Title**    | Contact's role               |

   > If you're running a company-focused campaign (not targeting individuals), you can select other columns for First Name, Last Name, and Job Title. For example, Company Industry, Location, and Size. You can rename or remove these fields from the enrichment configuration later.

3. **Configure your landing page URL**

   Click **Apply template** and navigate to the **Configure** tab.

   Scroll to the **Body** section and update `BASE_LANDING_PAGE_URL` to your landing page URL. It will serve as the foundation for creating personalized versions.

   > **Important**
   >
   > The URL must include `https://` (for example, `https://www.example.com`, not `example.com`).

   > You can customize properties in the **Body** `row` section. For company-focused campaigns (not targeting individuals), you can rename or remove fields like `firstName`, `lastName`, and `jobTitle`. Only the `companyName` property is mandatory.

4. **Run the enrichment**

   Click **Save** and then run the enrichment on your desired rows. Clay will generate a unique personalized URL for each row.

## Using your personalized URLs

The enrichment returns a unique URL for each row it's run on.

You can extract these URLs in a dedicated column of your Clay table and use them in your marketing campaigns.

# Create personalized landing pages from Prismic

This approach lets you create personalized landing pages directly in your Prismic repository and website, using your own slices and design.

## Prerequisites

Before you begin, you'll need to gather a few pieces of information from your Prismic repository.

1. **Generate a Prismic write token**

   Navigate to your Prismic repository settings and generate a write token. This token allows Clay to create personalized pages in your repository.

   [Learn how to generate a Prismic write token](https://prismic.io/docs/repository-settings.md#configuration)

   > If you're not an administrator of your Prismic repository, ask your admin to generate a write token for you.

   > **Important**
   >
   > Keep your write token secure and do not share it publicly. It grants access to modify your Prismic content.

2. **Identify your base page**

   Find the ID of the Prismic document you want to use as your personalization template. It will serve as the foundation that Clay personalizes for each prospect.

   To find your document ID, open the document in the Page Builder. The ID is located in the URL between `/pages/` and the query parameters.

   For example, the document ID is `ZF1D4BMAACgAD-0q` in this URL:

   ```plain
   https://example.prismic.io/builder/pages/ZF1D4BMAACgAD-0q?s=published
   ```

3. **Create a dedicated release**

   Create a new [release](https://prismic.io/docs/releases.md) in your Prismic repository named **"Clay Landing Pages"**. This release will contain all the personalized pages that Clay creates, so you can review and manage them separately from your main content.

   [Learn how to create a release](https://prismic.io/docs/releases.md#create-a-release)

## Configuration

1. **Add the enrichment to Clay**

   In a Clay table, click **Add column** then **Add enrichment**.

   Search for **"Create personalized landing page from Prismic"** and select the enrichment matching this name.

2. **Fill in the required fields**

   You'll need to map the following fields from your Clay data:

   | Field            | Description                  |
   | ---------------- | ---------------------------- |
   | **Company Name** | The company you're targeting |
   | **First Name**   | Contact's first name         |
   | **Last Name**    | Contact's last name          |
   | **Job Title**    | Contact's role               |

   > If you're running a company-focused campaign (not targeting individuals), you can select other columns for First Name, Last Name, and Job Title. For example, Company Industry, Location, and Size. You can rename or remove these fields from the enrichment configuration later.

3. **Configure your Prismic settings**

   Click **Apply template** and navigate to the **Configure** tab.

   You'll need to configure three Prismic-specific settings:

   1. Scroll to the **Query parameters** section and update `PRISMIC_REPOSITORY_ID` with your Prismic repository ID (e.g. `example` for `example.prismic.io`)
   2. Scroll to the **Body** section and update `PRISMIC_DOCUMENT_ID` with your base document ID.
   3. Scroll to the **Headers** section and update `PRISMIC_WRITE_TOKEN` with your write token.

   > You can customize properties in the **Body** `row` section. For company-focused campaigns (not targeting individuals), you can rename or remove fields like `firstName`, `lastName`, and `jobTitle`. Only the `companyName` property is mandatory.

4. **Run the enrichment**

   Click **Save** and then run the enrichment on your desired rows. Clay will generate a unique personalized page for each row in your Prismic repository.

## Using your personalized URLs

The enrichment returns a unique [UID](https://prismic.io/docs/page-fields.md#uid-field) for each row it's run on.

You can extract these UIDs in a dedicated column of your Clay table, map them to URLs from your website using a formula, and use them in your marketing campaigns.

```javascript filename=Formula
{{Column Name}}?.uid
  ? "https://example.com/abm/"+{{Column Name}}.uid
  : ""
```

# Provide additional data to the personalization agent

You can enhance your personalization by providing extra information to guide how the content is customized. In the **Configure** tab, you can add custom data fields in the `row` section alongside the standard fields like Company Name and First Name.

Here are three ways to provide additional context.

**Static guidance**: Add fixed instructions that apply to all personalized pages. For example, you might add:

```plain
"challenge": "Focus message on lead generation"
```

This tells the AI to emphasize lead generation in the personalization for every page.

**Dynamic data from Clay**: Pull in information from other columns in your Clay table. For example, if you have a column called "Web Technologies" that lists the prospect's tech stack, you can reference it like this:

```plain
"techStack": "/Web Technologies"
```

The `/Web Technologies` syntax pulls data from the specified Clay column for each row.

**AI instructions**: Provide specific rules for how the AI should use the information. For example:

```plain
"promptGuides": "Use the company name one time in the opening heading."
```

This gives the AI clear direction on how to incorporate specific elements into the personalized content.

These additional data fields are optional, but they can significantly improve the relevance and quality of your personalization by giving the AI more context about what matters to each prospect. However, keep in mind that around 10 fields is often the sweet spot — adding too many fields can overwhelm the AI and lead to poorer personalization results.
