Setting Up Oracle Backend with Supabase APIs Projects

Learn how projects organize applications and backend services, prepare a project, and manage it through the Console and CLI.

Introduction to Projects

An Oracle Backend with Supabase APIs project is a workspace for the backend services your applications use. It associates applications with a database schema, authentication providers, and storage configuration. Applications registered in the same project share its backend configuration.

Why Projects Matter

Projects reduce repeated work and help keep application operations consistent:

Working with a Project (Console or CLI)

After you create a project, use the Console for interactive management or the command-line interface (CLI) for terminal-based tasks and scripts.

Using the Console UI

Use the Oracle Backend with Supabase APIs Console to view your projects and manage their applications and services.

Overview of the Console

Open a project in the Console to use these navigation options:

The Console shows project settings alongside the project navigation menu.

Description of the illustration project-console-general-full.png

Project Settings

The General tab in Project settings displays the following project information:

You can switch between tabs at the top for further configuration:

Using the CLI

Use the CLI to create and select projects, register applications, retrieve application configuration, and configure authentication and storage.

For more information, see CLI Overview.

How Projects Relate to Applications and Services

The JavaScript SDK initializes a client with application, project, authentication, and storage identifiers in one configuration. Relational data requests use project_id in the URL and app_id as the API key. For authenticated access, the SDK also sends a user JWT. ORDS uses the request context to resolve the target project and schema.

What a Project Contains

The project security context contains these project attributes:

Project creation also provides the default data roles <SCHEMA>$NOAUTH_ROLE and <SCHEMA>$AUTHENTICATED_ROLE.

Ownership, Access, and Boundaries

The project-owning database schema administers the project. Other accounts can’t be authorized to administer a Supabase project.

Administrative Preparation Before Project Creation

Before you create a project, complete the following administrative preparation:

For the setup procedure, see Configure Deep Data Security.

Application Registration Within a Project

Registering an application associates it with a project. The application uses the project’s authentication, relational data, and storage configuration rather than defining separate backend services.

Register a web application and use its configuration to initialize the JavaScript SDK. Multiple applications can share the same project.

For detailed steps, see Adding Oracle Backend with Supabase APIs to Your Apps.

App Configuration and Project Configuration

The JavaScript SDK configuration combines application and project values:

Pass this configuration as the second argument to createClient(ordsHost, config). The first argument supplies the schema-specific ORDS base URL, including its trailing slash.

Managing a Project in Practice

The following sections describe the main operational tasks used to manage a project after you understand the project model.

Creating a Project

After the schema is prepared, create the project in the Console. For prerequisites, see Administrative Preparation Before Project Creation.

The Console hides the creation action when the connected schema already owns a project. To work with that project, open it from Your projects.

To create a project, follow these steps:

  1. Sign in to the Oracle Backend with Supabase APIs Console.

  2. On Your projects, in the Oracle Backend with Supabase APIs card, click Create project.

  3. Confirm that Deep Data Security is enabled by selecting Yes, Deep Data Security is enabled.

    The creation dialog asks you to confirm the DDS prerequisite.

    Description of the illustration project-console-dds-prerequisite-full.png

  4. Click Continue.

  5. Enter a project name.

  6. Select I’ll set everything up myself! to configure services separately, or select Set up using quickstart.

  7. If you select quickstart, then select Set up authentication for me, Set up storage for me, or both.

    Quickstart offers authentication and storage setup options.

    Description of the illustration project-console-quickstart-full.png

  8. Click Create Project.

Each project has a unique project_id. After creation, register an application and use its configuration to connect to the backend services.

Managing Projects Using the Console and CLI

In the Console, open your project and use Project settings to view its details and manage its configuration. For authorized domains and rate limits, see Managing Projects.

In the CLI, list the projects available to the connected user:

fusabase list-projects

To select a project for subsequent CLI commands, use its project ID:

fusabase use PROJECT_ID

Replace PROJECT_ID with the project’s ID from the list.

Deleting a Project

Delete a project only when it is no longer needed by your applications.

Warning: Deleting a project is irreversible. You can’t recover the project after deletion.

  1. Open the project in the Console.

  2. Go to Project settings > General.

  3. Click Delete Project.

    The deletion dialog requires the project ID and an explicit confirmation.

    Description of the illustration project-console-delete-confirmation-full.png

  4. Enter the displayed Project ID exactly.

  5. Select I understand the project will be permanently deleted.

  6. Click Delete project.

Project Limitations and Operational Considerations