Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

epi project add command

Add a DXP project.

Usage

epi project add --name <NAME> --project-id <PROJECT_ID> --client-key <CLIENT_KEY> --client-secret <CLIENT_SECRET>

Examples

To add a new project to your configuration, use the following command with your project-specific credentials:

epi project add \
  --name my-project \
  --id 012345678-0123-1234-2345-0123456789012 \
  --key 5XCxy0REu0W9A41bm9kiBQ0-btzZ8-0YqWItm5HOvaH_M9nl \
  --secret JlIlfaFUuU6Q65bgQxAfawSBbFbnCLocOw_7nJDNTgScHt0FZTCGVmFJyXxGL3Cu

Important: Replace the example values above with the actual credentials from your Optimizely DXP project. You can find these values in your DXP project settings.

Options

–name <NAME>

The project name. You can choose any meaningful name, doesn’t neccessarily have to be the same as the project name in DXP.
Aliases: project.

–project-id <PROJECT_ID>

The ID (should be a guid) of the project. Get it from the DXP PaaS Portal.
Aliases: id.

–client-key <CLIENT_KEY>

The client key used to access the project. Get it from the DXP PaaS Portal.
Aliases: key.

–client-secret <CLIENT_SECRET>

The client secret used to access the project. Get it from the DXP PaaS Portal.
Aliases: secret.

-h, –help

Print help.