Skip to main content
Create a project, then add an environment to keep its deployment configuration separate from project source. Use an API credential that can create projects. The examples use support-assistant; choose an unused slug and use it in subsequent requests.

1. Create a project

Create the project with POST /projects:
create-project.sh

2. Create an environment

Create an environment with POST /projects/{project_reference}/environments:
create-environment.sh
Keep the returned environment ID. Use it when setting credential environment variables or creating a deployment.

Verify the result

List the project’s environments and confirm that production appears. Creating an environment configures a destination; it does not deploy the project. If project creation reports a slug conflict, choose another slug. If configuration requests are forbidden, check your credential’s project permissions.

API references