Deployment instructions
The AEP Foundations lab pack is deployed to your sandbox using the DEP CLI, a command-line tool that creates the schemas, datasets, dataflows, and sample data you’ll use throughout the labs.
What gets deployed
- 4 identity namespaces
- 1 schema class, 13 field groups, 10 schemas
- 12 identity descriptors, 6 relationship/reference descriptors, 3 friendly name descriptors
- 10 catalog datasets
- 1 HTTP API source connection and 10 dataflows
- Profile data: a single Depeche Mode profile (3 trait datasets, 7 event datasets) plus 3 lookup datasets
- 2 profile merge policies and 1 audience (Any Event Streaming, within the hour)
Prerequisites
- License Entitlements. Administrative privileges for an IMS Org with Real-Time CDP (w/streaming segmentation)
- Access Rights. An Adobe Experience Platform role with all permissions on the target sandbox including the API credential you created from Developer Console Setup.
- Developer Console credentials. A project that includes Adobe Experience Platform APIs. If you don’t have these yet, follow Developer Console Setup first
- A sandbox. Empty, of type
devand in a “Ready” state for at least 60 minutes before you start deployment - Node.js. Any recent LTS version, on Windows or Mac
1. Install the CLI
- Clone or download the dep-cli repository
- From the
dep-clidirectory, runnpm install - Start the CLI with
npm start
2. Configure your environment file
The CLI deploys to whichever sandbox your environment file points at, so this has to be set up correctly before you run anything.
-
Copy
envFiles/sample-env.jsonand give it a new name, e.g.my-env.json -
Open the file and fill in the following fields using the values from Developer Console Setup:
table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 Field Value API_KEYClient ID CLIENT_SECRETClient Secret IMS_ORGOrganization ID SCOPESMust include Experience Platform API scopes (openid, session, AdobeID, read_organizations, additional_info.projectedProductContext) SANDBOX_NAMEThe sandbox you’re targeting — must be empty and of type dev -
Save and close the file
3. Run the AEP foundations menu
From the main menu, select AEP foundations. There are three steps, and they have to run in order.
Step 1 takes about 2 minutes to run, Step 2 about 6 minutes, and Step 3 is a quick validation with no wait of its own. The 60- and 15-minute gaps between steps are for AEP to finish propagating data behind the scenes — that’s most of your 2-hour timeline.
Troubleshooting
Something else looks wrong. As a last resort, you can reset the sandbox from the CLI’s Sandbox management menu and redeploy from Step 1.