Skip to main content
Use the resource group to manage the databases and APIs your app can access.
For more information on how resources work, see Resources in the web documentation.
CommandPurpose
major resource createCreate a new resource via the web UI.
major resource manageAttach or detach resources for the current app.
major resource envView and switch resource environments.

major resource create

major resource create
When to use: creating a new database or API resource. What happens: Opens the resource creation page in your browser.

major resource manage

major resource manage
When to use: changing which resources your app is connected to. What happens:
  1. Fetches the current resources for your app.
  2. Lets you attach or detach resources using an interactive menu.
  3. Updates your local configuration to match the new settings.

major resource env

major resource env
When to use: switching between environments (e.g., development, staging, production) to change which resource instances your app connects to. What happens:
  1. Displays your current environment selection.
  2. If multiple environments are available, lets you select a different one from an interactive menu.
  3. Updates both your local development environment and the Major web app to use the selected environment.
Each environment can have different resources and configuration values. Switching environments affects where your application connects to—both locally and when running in dev mode on Major.
After switching environments, run major app start to apply the changes locally.

Learn more about Environments

See how to create and manage environments for your organization.