> For the complete documentation index, see [llms.txt](https://support.emarketeer.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.emarketeer.com/guides/journeys/journey-steps/journey-step-legal-basis.md).

# Legal Basis

Journey step that sets the contact's legal basis for storing and processing their data and for marketing sendouts.

The Legal Basis step sets the legal basis for the contact. You set it for two purposes: storing and processing the contact's data, and sending marketing to the contact.

<div align="left" data-with-frame="true"><img src="https://2894606528-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0ywqCs3au1x0DqPhEJTR%2Fuploads%2Fgit-blob-d59dfc9b4f252bc32b5b9c058ecbff9e3b5dd964%2Fjourney-step-legal-basis-settings.png?alt=media" alt="Legal Basis dialog with Consent chosen for both purposes, each with a consent text"></div>

## Settings

* **Purpose: Store and process** — the legal basis for storing and processing the contact's data.
* **Purpose: Marketing sendouts** — the legal basis for sending marketing to the contact.

For each purpose, choose the legal basis, for example **Consent**, and enter a text that describes it, such as the consent text from your form.

Click **Apply** to save the step.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://support.emarketeer.com/guides/journeys/journey-steps/journey-step-legal-basis.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
