# 0.2 Create your Datastream

Go to <https://experience.adobe.com/#/data-collection/>. After the previous exercise, you now have two Data Collection properties: one for web and one for mobile.

Please reach out to **<spphelp@adobe.com>** to have your two Data Collection properties whitelisted if you cannot view them.

![DSN](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-545d4c8c7acbfe21c0f917183ec7a5a6aa75aa5c%2Flaunchprop.png?alt=media)

These properties are almost ready to be used, but before you can start collecting data using these properties you need to set up a datastream. Datastreams are

For now, please follow these steps.

## 0.2.1 Create your Datastream for Web

Click **\[Datastreams]**.

![Click Edge Configuration icon in the left navigation](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-d17bff9f750839099e6f938b11fd583585f4f009%2Fedgeconfig1a.png?alt=media)

In the top right corner of your screen, select your sandbox name, which should be `--aepSandboxId--`.

![Click Edge Configuration icon in the left navigation](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-373c7fe2bc6c927f22b333bb5d3719ce11951612%2Fedgeconfig1b.png?alt=media)

Click **\[New Datastream]**.

![Click Edge Configuration icon in the left navigation](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-297b3d993e31cd6c8c5fd21fecd067e88f9624b0%2Fedgeconfig1.png?alt=media)

For the **\[Friendly Name]**, and for the optional description, enter `--demoProfileLdap-- - Demo System Datastream`. For Event Schema, select **Demo System - Event Schema for Website (Global v1.1)**. Click **Save**.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-e57dd649e1b1b81af5c737d9e7730d0102cab1b2%2Fedgeconfig2.png?alt=media)

You'll then see this. Click **Add Service**.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-1374a2790ec2908afc7917b9cfdd20b77c6bd100%2Fedgeconfig3.png?alt=media)

Select the service **\[Adobe Experience Platform]**, which will expose additional fields. You'll then see this.

For Event Dataset, select **Demo System - Event Dataset for Website (Global v1.1)** and for Profile Dataset, select **Demo System - Profile Dataset for Website (Global v1.1)**. Click **Save**.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-edde9f9f839fed488b16c7ef4df844b474304de5%2Fedgeconfig4.png?alt=media)

You'll now see this.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-58344eb2a4af36e6d00cd4297bad49e0f28955ae%2Fedgeconfig5.png?alt=media)

In the left menu, clik **\[Tags]**.

Filter the search results to see your two Data Collection properties. Open the property for **Web** by clicking it.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-412d38b56457c61570ec4b016015aaec0a82450c%2Fedgeconfig10a.png?alt=media)

You'll then see this. Click **Extensions**.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-4c102d987183d3d6b943d2d6af3ae92f774a8c45%2Fedgeconfig11.png?alt=media)

On the Adobe Experience Platform Web SDK extension, click **Configure**.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-c1f58153475c2485cd9766feb6d64a55b406fe9e%2Fedgeconfig12.png?alt=media)

You'll then see this. For **Datastreams**, you'll currently see a dummy value set to 1. You now need to click the **Choose from list** radio-button. In the dropdown list, select the Datastream you created earlier.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-361b32eac1746d13c8b091b892fbb39394d712b7%2Fedgeconfig13.png?alt=media)

Make sure to have selected your **Datastream**. TIP: You can filter the results in the dropdown easily by typing your `--demoProfileLdap--`.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-06595ed0319a3b820c785270dd3ff72ad07142f5%2Fedgeconfig14.png?alt=media)

Scroll down until you see **Data Collection**. Please ensure that the checkbox for **Enable click data collection** is not enabled. Click **Save** to save your changes.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-85f0d31c947630e816d870fcdee958f9b7d4c128%2Fedgeconfig14a.png?alt=media)

Go to **Publishing Flow**.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-512ce58c8b96e71ac85a87ef677cc187099d0f77%2Fedgeconfig15.png?alt=media)

Click the **...** for **Main**, then click **Edit**.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-e81565be700e7f56c41aa89f4db13766b4a568d2%2Fedgeconfig16.png?alt=media)

Click **Add All Changed Resources** and then click **Save & Build for Development**.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-af2a6e1f1168e7decacff08a32172c35eb71e33f%2Fedgeconfig17.png?alt=media)

Your changes are now being published and will be ready in a couple of minutes.

## 0.2.2 Create your Datastream for Mobile

Go to <https://experience.adobe.com/#/data-collection/>.

Click **\[Datastreams]**.

![Click Datastream icon in the left navigation](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-d17bff9f750839099e6f938b11fd583585f4f009%2Fedgeconfig1a.png?alt=media)

In the top right corner of your screen, select your sandbox name.

![Click Edge Configuration icon in the left navigation](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-373c7fe2bc6c927f22b333bb5d3719ce11951612%2Fedgeconfig1b.png?alt=media)

Click **\[New Datastream]**.

![Click Datastream icon in the left navigation](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-297b3d993e31cd6c8c5fd21fecd067e88f9624b0%2Fedgeconfig1.png?alt=media)

For the **\[Friendly Name]**, and for the optional description, enter `--demoProfileLdap-- - Demo System Datastream (Mobile)`. For Event Schema, select **Demo System - Event Schema for Mobile App (Global v1.1)**. Click **Save**.

Click **\[Save]**.

![Name the Datastream and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-475aa81f70288b53caa12e6df7951d50a93cff59%2Fedgeconfig2m.png?alt=media)

You'll then see this. Click **Add Service**.

![Name the Datastream and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-e9890b5b66670527c6f19b3a5dd5eb0ea4ec49d9%2Fedgeconfig3m.png?alt=media)

Select the service **\[Adobe Experience Platform]**, which will expose additional fields. You'll then see this.

For Event Dataset, select **Demo System - Event Dataset for Mobile App (Global v1.1)** and for Profile Dataset, select **Demo System - Profile Dataset for Mobile App (Global v1.1)**. Click **Save**.

![Name the Datastream Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-0f6af88896e5e7e0af3ae75423681181fba057e4%2Fedgeconfig4m.png?alt=media)

You'll then see this.

![Name the Datastream Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-0d36e3310452df567360e8bf64350d55f1067ce0%2Fedgeconfig5m.png?alt=media)

Your Datastream is now ready to be used in your Adobe Experience Platform Data Collection Client property for Mobile.

Go to **Tags** and filter the search results to see your two Data Collection properties. Open the property for **Mobile** by clicking it.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-9e5d0bd929862509186d0635f1be039d12da42e3%2Fedgeconfig10am.png?alt=media)

You'll then see this. Click **Extensions**.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-b98bbca8552db41f220c4c768d443300481dc8fe%2Fedgeconfig11m.png?alt=media)

On the **Adobe Experience Platform Edge Network** extension, click **Configure**.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-1619a8a05a26bf2bcb89806522c0b6dc76188e7d%2Fedgeconfig12m.png?alt=media)

You'll then see this. You now need to select the correct sandbox and datastream that you just configured. The sandbox to use is `--aepSandboxId--` and the datastream is called `--demoProfileLdap-- - Demo System Datastream (Mobile)`.

For the **Edge Network domain**, please use the default domain which is **edge.adobedc.net**.

Click **Save** to save your changes.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-3c4bc5686197b2128579a1ab190325f6de2f93cc%2Fedgeconfig13m.png?alt=media)

Go to **Publishing Flow**.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-9342eacb35a8df6a3c4fad72c67c45ffbe693ac1%2Fedgeconfig15m.png?alt=media)

Click the **...** next to **Main**, then click **Edit**.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-264c1aec44e5ab4d64cb06b43cc87e2e3bcda48a%2Fedgeconfig16m.png?alt=media)

Click **Add All Changed Resources**, then click **Save & Build for Development**.

![Name the Edge Configuration and save](https://858372621-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FpBC8bA57il8Sj47B7QPJ%2Fuploads%2Fgit-blob-776ec436ad8e0d415dbf1234efb310aa9747f5dc%2Fedgeconfig17m.png?alt=media)

Your changes are now being published and will be ready in a couple of minutes.


---

# 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://docs.adobesandbox.com/comprehensive-technical-tutorial-archive/getting-started/ex2.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.
