Download your Atomic project via CLI

This is for:

Developer

A generated Atomic search page is a great starting point, whether you created it using the Simple builder in the Coveo Administration Console or locally using the Coveo CLI. Often, however, your search page will need to be further customized by developers.

You can work locally with a page that was created in the Administration Console by downloading it using the Coveo CLI.

Note

You can’t download a page that you created using the Coveo CLI. You should rather handle such a project with a source control system like Git.

  1. (Optional) Copy the search page ID from the Administration Console:

    1. On the Search Pages (platform-ca | platform-eu | platform-au) page of the Administration Console, select the project that you want to download.

    2. On the Action bar, click Copy ID.

  2. In a terminal, run coveo auth:login to connect to your Coveo organization.

    Tip
    Tip

    If you have more than one organization, you can add -o=<YOUR_ORG_ID> to connect to a specific one.

  3. Run coveo ui:create:atomic <YOUR_PROJECT_NAME>.

    If you copied the search page ID from the Administration Console, add -p=<YOUR_SEARCH_PAGE> to download your page directly.

    If you don’t specify a page ID, you’ll need to choose one of the following options:

    • Start from scratch

    • Select one of the Atomic search pages that exist in your organization

    Choose the one you want and press Enter. The Coveo CLI will then download your project.

Download your project in the CLI