Data Science Workspace is no longer available for purchase.
This documentation is intended for existing customers with prior entitlements to Data Science Workspace.
This tutorial provides you with the prerequisites and assets required for all other Adobe Experience Platform Data Science Workspace tutorials. Upon completion, the Retail Sales schema and datasets will be available for you and members of your organization on Experience Platform.
Before starting this tutorial, you must have the following prerequisites:
{ACCESS_TOKEN}
{API_KEY}
{ORG_ID}
{CLIENT_SECRET}
{PRIVATE_KEY}
The Retail Sales schema and datasets are created automatically by using the provided bootstrap script. Follow the steps below in order:
Inside the Experience Platform tutorial resource package, navigate into the directory bootstrap
, and open config.yaml
using an appropriate text editor.
Under the Enterprise
section, input the following values:
Enterprise:
api_key: {API_KEY}
org_id: {ORG_ID}
tech_acct: {technical_account_id}
client_secret: {CLIENT_SECRET}
priv_key_filename: {PRIVATE_KEY}
Edit the values found under the Platform
section, Example shown below:
Platform:
platform_gateway: https://platform.adobe.io
ims_token: {ACCESS_TOKEN}
ingest_data: "True"
build_recipe_artifacts: "False"
kernel_type: Python
platform_gateway
: The base path for API calls. Do not modify this value.ims_token
: Your {ACCESS_TOKEN}
goes here.ingest_data
: For the purpose of this tutorial, set this value as "True"
in order to create the Retail Sales schemas and datasets. A value of "False"
will only create the schemas.build_recipe_artifacts
: For the purpose of this tutorial, set this value as "False"
to prevent the script from generating a Recipe artifact.kernel_type
: The execution type of the Recipe artifact. Leave this value as Python
if build_recipe_artifacts
is set as "False"
, otherwise specify the correct execution type.Under the Titles
section, provide the following information appropriately for the Retail Sales sample data, save and close the file after edits are in place. Example shown below:
Titles:
input_class_title: retail_sales_input_class
input_mixin_title: retail_sales_input_mixin
input_mixin_definition_title: retail_sales_input_mixin_definition
input_schema_title: retail_sales_input_schema
input_dataset_title: retail_sales_input_dataset
file_replace_tenant_id: DSWRetailSalesForXDM0.9.9.9.json
file_with_tenant_id: DSWRetailSales_with_tenant_id.json
is_output_schema_different: "True"
output_mixin_title: retail_sales_output_mixin
output_mixin_definition_title: retail_sales_output_mixin_definition
output_schema_title: retail_sales_output_title
output_dataset_title: retail_sales_output_dataset
Open your terminal application and navigate to the Experience Platform tutorial resource directory.
Set the bootstrap
directory as the current working path and run the bootstrap.py
Python script by entering the following command:
python bootstrap.py
The script may take several minutes to complete.
Upon successful completion of the bootstrap script, the Retail Sales input and output schemas and datasets can be viewed on Experience Platform. See the preview schema data tutorial
for more information.
You have also successfully ingested Retail Sales sample data into Experience Platform using the provided bootstrap script.
To continue working with the ingested data: