# Create a preference page for ActiveCampaign tags

### Implementation steps:

1. **Create a New List in Emailpref:**
   * Navigate to the "Lists" section within Emailpref.
   * Click on "Create New List" and enter the necessary details for your new list.<br>
2. **Sync the New List with ActiveCampaign Tags:**
   * Once the list is created, click on the sync icon next to the list.
   * Choose your ActiveCampaign integration from the options provided.
   * A list of available tags and lists from ActiveCampaign will be displayed.
   * Select "Sync with Tag" and choose the tag you want to sync with your new list.<br>
3. **Add the List to Your Preference Page:**
   * After setting up the sync, go to your preference page settings in Emailpref.
   * Add the newly created list to your preference page.
   * Save your changes.

Now, your setup is complete! Any changes made by your customers on the preference page will be instantly reflected in ActiveCampaign, keeping your lists and tags up to date effortlessly.

{% hint style="danger" %}
**Note:** Once the list is synced with a tag, Emailpref will automatically create a default action. This action ensures that any changes made on the preference page (such as a customer subscribing or unsubscribing) are directly synced with the corresponding tag in ActiveCampaign.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://emailpref.gitbook.io/emailpref-documentation/use-cases/create-a-preference-page-for-activecampaign-tags.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
