Project Foundations
In the previous guide, you cloned a pre-built project and explored the general structure of an Upbound project. This guide walks through how to create a brand new project and understand each component's purpose as you build your resources from scratch.
Prerequisites
Make sure you have:
Authenticate with Upbound
First, login to your Upbound organization:
up login
This command prompts you to authenticate through your browser or with an API token. This step:
- Connects your local development environment to your Upbound account
- Grants access to your organization's control planes and resources
- Enables you to publish and deploy configurations
Initialize a new project
An Upbound project is the foundation for creating and managing infrastructure APIs. Projects contain all the definitions and configurations needed to build a control plane.
up project init upbound-hello-world && cd upbound-hello-world
This command:
- Creates a new directory called
upbound-hello-world
- Initializes a
git
repository for version control - Sets up the basic project structure with necessary configuration files
- Changes your working directory to the new project