---
title: POC-P2 - SDK and API Integration
slug: cebu/poc-p2-sdk-and-api-integration
docTags: 
createdAt: 2026-06-26T02:22:24.854Z
---

This tutorial is designed to teach you about Adobe's Data Collection capabilities used to ingest fast moving behavioural data from your website and app or other devices.  The components taught in this module are core to all Adobe Experience Platform applications.

It is designed for a technical audience (Data Architects, Data and Web/Mobile Engineers) but can be interesting also for marketers to understand. &#x20;

## Learning Objectives

- Learn how to access Adobe's Tag Manager
- Learn how to configure a Datastream for data collection

## Access Data Collection

Adobe Data Collection manages the streaming ingestion of behavioural data and integration with our Web and Mobile SDK's.    Data collection also offers ingestion of data from IOT devices using the Edge Network API.  &#x20;

Once the SDK is deployed to either your website or App, data is sent to Adobe's Edge Network servers before being forwarded to Adobe Experience Platform.  &#x20;

Whether you use adobe's Tag Manager or choose to implement the SDK another way, the events must be routed to a Datastream.   The datastream controls which Adobe applications the data is routed to.   Eg. you can route the same event to both Adobe Experience Platform and Adobe Analytics at the same time. &#x20;

For Adobe Experience Platform, the Datastream also controls which datasets the data coming from the SDK lands in.   &#x20;

Since Data Collection services more than one Adobe product, it has it's own menu item separate from Adobe Experience Platform.  &#x20;

You can access Data Collection by clicking on the product selector in the top right. &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/j7zwG_gxraM2_9EKOBmVE_image.png)

## Review Cebu Datastreams

Once you're within the Data Collection UI, navigate to **Datastreams&#x20;**&#x74;o see the datastreams configured for the POC. &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/L4ZR32_BbKS0WAXZ0denM_image.png)

Click to open the **gillies - Cebu POC (web)&#x20;**&#x64;atastream.&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/zjV5U9cwcmD34PXf8lC99_image.png)

You can see there are 2 services are enabled, Adobe Experience Platform and Adobe Target.    Click to **edit Adobe Experience Platform**.&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/uGJFUdIGay1wrKiKg_klN_image.png)

The configuration defines which datasets data lands in from this datastream as well as which modules from the AEP are enabled.   For CDP we have enabled only Edge Segmentation (for real-time audience qualifications) and Personalisation Destinations (not used for the POC but allows for integration with third party personalisation tools like Optimizely or Dynamic Yield).  &#x20;

## Review the WebSDK configuration

The WebSDK is deployed to the mock website using Adobe's Tag Manager called **Tags. &#x20;**&#x20;  &#x20;

Navigate to **Data Collection -> Tags&#x20;**&#x61;nd search for **Cebu. &#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/vv7GwVw8ns_nEFGXZ45-n_image.png)

You can see 3 separate properties, one for web, one for mobile and one for our customer service app.  Click to open the web property **gillies - Cebu POC (web)&#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/2U1oJVOQPNvVASS2f-8j6_image.png)

Once you're in the property, navigate to **Extensions&#x20;**&#x74;his is where you'll find the **Web SDK&#x20;**&#x63;onfiguratio&#x6E;**.  &#x20;**&#x20;Select the extension and click to **Configure. &#x20;**

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/Z6qlwFl--SYzxO4ZDP9N0_image.png)

There are many configurations available but the most important configuration is the Datastream setting.  This is the minimum requirement for enabling the SDK.&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/1i4gNLXoSBJSjUI1P9MhD_image.png)

## Review a Send Event Rule&#x20;

Data elements contain references to specific data objects either within the data layer or browser storage.   Rules are used to trigger actions when things happen on the website.

Navigate to **Rules&#x20;**&#x61;nd search for **Send.    &#x20;**&#x59;ou'll see a number of rules starting with the work **Send.  &#x20;**&#x43;lick into the **Send ongoing Flight Selection 2.0** rule.&#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/zjQFMwFvlHowQB4Y0TSjB_image.png)

The rule is triggered by one of more **events**, and takes one or more **actions**.   Click into the **Send Ongoing Flight selection Event&#x20;**&#x61;ction.

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/gJbovvMhCMVwoavlUaqOz_image.png)

You can see the action is using the **WebSDK** to send an event of type **booking.selection**.   The full payload of the event is controlled by the XDM data element.  &#x20;

![](https://api.archbee.com/api/optimize/1Jp0iolWv35Z_mkI7oUiT/4TZPQxr2fd2CsJtYs-A8g_image.png)

:::hint{type="success"}
**Congratulations!**

You now know how to configure data collection via Adobe's WebSDK.
:::

## Additional Resources&#x20;

The Adobe Experience Platform Web SDK is a client-side JavaScript library that sends data to the Experience Platform Edge Network in a solution-agnostic way (XDM), which then maps data to solution-specific formats and sends it in real time.&#x20;

- [Web SDK (alloy.js) Documentation ](https://experienceleague.adobe.com/en/docs/experience-platform/edge/home)
- [Implement Experience Cloud with Web SDK (Tutorial) ](https://experienceleague.adobe.com/en/docs/platform-learn/implement-web-sdk/overview)
- **[Data Collection Overview (Edge Network, SDKs, APIs)](https://experienceleague.adobe.com/en/docs/experience-platform/collection/home)**
