> For the complete documentation index, see [llms.txt](https://docs.didomi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.didomi.io/preference-management-platform-pmp/preferences-widgets.md).

# Preferences widgets

{% hint style="success" %}
**Premium Feature**: Preference Management Platform
{% endhint %}

A preferences widget is the customizable end-user facing form that your organization surfaces to collect the end-users preferences as defined in your organization's configuration tree.

### Didomi console vs Didomi API

All actions performed within the Didomi console can be performed via the Didomi API, this includes the creation, configuration, and deployment of your organization's preferences widgets. A key difference between the two methods is the deployment options available for the different [widget formats](/preference-management-platform-pmp/preferences-widgets/preferences-widget-formats.md). Refer to the table below for more information on how your method of creating and configuring a preferences widget impacts your deployment options:

<table><thead><tr><th width="130">Method</th><th>Deployment options</th></tr></thead><tbody><tr><td>via console</td><td><p>Options for embedding and hosting the different preferences widget formats is:<br></p><ul><li><strong>Single purpose preferences widget</strong> - embed only</li><li><strong>Multi purpose preferences widget</strong> - embed only</li><li><strong>Preferences center</strong> - hosted only (either managed or custom domain)</li></ul></td></tr><tr><td>via API</td><td>Regardless of the preferences widget format, the widget can be deployed as an embed or hosted page (either managed or custom domain)</td></tr></tbody></table>

{% hint style="warning" %}
**Note**: The documentation provided in this section assumes that your organization is creating and configuring your preferences widget within the Didomi console. For more information on using the Didomi API to create and configure a preferences widget please [click here](https://developers.didomi.io/api-and-platform/widgets/privacy-widgets/create-a-widget).&#x20;
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.didomi.io/preference-management-platform-pmp/preferences-widgets.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
