> For the complete documentation index, see [llms.txt](https://docs.pline.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pline.ai/features/end-to-end-data-encryption/enable-encryption-when-creating-a-new-workflow.md).

# Enable Encryption When Creating a New Workflow

Pline allows encryption to be configured directly during workflow setup, ensuring secure data handling from the start.

Here’s how to enable End-to-End Encryption during workflow creation:

### Step 1: Launch the Pline Extension and Build a Workflow

Open the **Pline Browser Extension**, build the workflow with the required **page type**, **data fields**, and **pagination**, then click **View Sample Data** to validate the extraction.

<figure><img src="https://3434687285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyS75Dkg943w0ERQe007K%2Fuploads%2FcNhonmMVaYggSyfwQiMp%2F1.png?alt=media&amp;token=3a45224e-51f7-4864-a4bb-d3d7d4f13e3a" alt=""><figcaption></figcaption></figure>

### Step 2: Enable End-to-End Encryption

In the workflow setup screen, expand **Advanced Settings** and enable **End-to-End Encryption** before saving or running the workflow.

<figure><img src="https://3434687285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyS75Dkg943w0ERQe007K%2Fuploads%2Ffp1WYY1ehtzEc7zilH1X%2F2.png?alt=media&amp;token=1f2361e8-a983-472f-ae5f-461a4151f3b8" alt=""><figcaption></figcaption></figure>

### Step 3: Generate Encryption Key

* Click **Generate Encryption Key** if you are using the encryption feature for the first time.

<figure><img src="https://3434687285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyS75Dkg943w0ERQe007K%2Fuploads%2FrpXK2vaFt7QsQNUkNfox%2F3.png?alt=media&amp;token=c604744f-c2a7-4fa8-83a0-ba839ad9c1ce" alt=""><figcaption></figcaption></figure>

* Pline will automatically redirect you to the platform, and click **Generate New Key**.

<figure><img src="https://3434687285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyS75Dkg943w0ERQe007K%2Fuploads%2FYAG6ve9sjbK5WbvrdmhZ%2F4.png?alt=media&amp;token=3b0d44fa-d9b9-45c5-9131-071a986d02c7" alt=""><figcaption></figcaption></figure>

* Enter a **key name**, set a **password**, and click **Generate** to create the encryption key.

<figure><img src="https://3434687285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyS75Dkg943w0ERQe007K%2Fuploads%2FC3Ko9VYieqa4rCxzhGpE%2F5.png?alt=media&amp;token=ab73487f-8675-43fc-9721-8ed937ed7b2c" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %}
&#x20;Ensure that you store your encryption key securely. Pline does not retain your decryption key and cannot recover it.
{% endhint %}

### Step 4: Run the Encrypted Workflow

Select an encryption key from the dropdown and click **Save and Run** to start the workflow.

<figure><img src="https://3434687285-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FyS75Dkg943w0ERQe007K%2Fuploads%2FkDMrMtMyLdUPAu7Nwkx4%2F6.png?alt=media&amp;token=6adaa640-e4ed-4403-97a1-bade94acad84" alt=""><figcaption></figcaption></figure>

Your data will be extracted and stored in an encrypted format, ensuring complete privacy and security.
