Your first project
How to create a Keel project, name it, choose environments, and set it up sensibly from the start.
Last updated
A project holds the secrets, members, integrations and audit history for one application. This page covers creating one and the decisions worth making early.
Prerequisites#
You are signed in to the dashboard. See the Quickstart if you do not have an account yet.
Create a project#
- Open Projects in the dashboard sidebar.
- Choose Create Project.
- Fill in the form: - Name: required, up to 60 characters. Names are unique among the projects you own, ignoring case. - Description: optional, up to 280 characters. - Environments: at least one of Development, Staging and Production. All three are selected by default.
- Submit.
You become the project's owner. The new project appears in the list with an environment count and a secret count per environment.
Through the API this is POST /api/projects. See Projects and environments API.
Naming#
Name projects after the application, not the team or the date. Web App or Billing API is better than Q4 Launch. You can rename a project later from Settings, and renaming does not change its id, so the CLI keeps working.
Choose environments deliberately#
Environments cannot be added or removed after creation. Pick the set you expect to use:
| If you have | Select |
|---|---|
| Only local development so far | Development, and plan to recreate or migrate later |
| A staging deploy before production | Development, Staging, Production |
| A single production deploy | Development, Production |
Creating all three costs nothing. An unused environment holds no secrets and, for members and viewers, is invisible until granted.
Recommended initial setup#
- Create the project with all three environments.
- Add your development secrets first, using non-production credentials.
- Invite teammates and grant them Development only. See Projects and access control.
- Add staging and production secrets, and leave those environments to owners and admins until someone needs them.
- Run
keel initin the application repository and add.keel.jsonto.gitignore.
Organize secrets#
Environments are the only grouping Keel offers, and there are no folders. Use clear, consistent key names:
- Use the names your application already reads, such as
DATABASE_URL. - Prefix by service when keys might collide, such as
STRIPE_SECRET_KEY. - Keep the same key set across environments so a missing key is easy to spot.
Delete a project#
Only the owner can delete a project, from Settings. Deletion removes its secrets, version history, members, invitations, environment access and integrations. Audit records are kept. This cannot be undone.
Next steps#
Add your first secret in Your first secret.