Deployment instructions
The AJO Architectural 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 — covering both the profile store and the AJO relational store used for orchestrated campaigns.
What gets deployed
Profile track
- Identity namespaces (customerID, planID, productID)
- Standard XDM field groups, descriptors, and schemas enabled for profile
- Catalog datasets enabled for profile
- Merge policies and audiences
- Profile data for three sample datasets: Depeche Mode (traits + events), Stranger Things (traits), and Decisioning (traits)
Relational track
- The customerID identity namespace
- 11 relational XDM schemas with primary key, foreign key, and version descriptors
- 11 datasets enabled for AJO orchestrated campaigns
- 11 dataflows loading data from the Data Landing Zone
Prerequisites
- License Entitlements. Administrative privileges for an IMS Org with Real-Time CDP (w/streaming segmentation) and Adobe Journey Optimizer (w/Orchestrated Campaigns)
- Access Rights. An 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 both Adobe Experience Platform API and Adobe Journey Optimizer 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 120 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 both Experience Platform API and Adobe Journey Optimizer API scopes
(e.g. cjm.suppression_service.client.delete, cjm.suppression_service.client.all, 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 AJO Architectural Foundations menu
From the main menu, select AJO arch foundations. There are six steps split across two tracks.
Profile track (run in order)
Step 1 takes about 2 minutes, Step 2 about 6 minutes.
Relational track
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.