---
title: How to Use Vultr’s Supabase Marketplace Application.
url: https://docs.vultr.com/how-to-use-vultr-s-supabase-marketplace-application
description: Learn how to deploy, configure, and use Vultr's Supabase Marketplace Application for your database needs with our comprehensive step-by-step guide.
publish_date: 2025-02-21T10:41:11.830937Z
last_updated: 2026-04-24T19:19:03.054795Z
author: Mary Ogunmola
header_image: https://docs.vultr.com/public/doc-assets/2104/776a815a-2b80-4f6f-b69d-27e73b674e5c.png
---

> Index of every Vultr Docs page in markdown: https://docs.vultr.com/llms.txt

Supabase is an open-source Backend-as-a-Service (BaaS) platform that simplifies backend development with a scalable architecture. It is built on top of PostgreSQL and provides an ecosystem of tools and features to streamline backend management while reducing complexity. Its architecture is designed to scale from small projects to enterprise applications, ensuring seamless growth without major reconfigurations.

Follow this guide to use [Vultr’s Supabase Marketplace Application](https://www.vultr.com/marketplace/apps/supabase). You will deploy a Supabase marketplace application on Vultr and explore its dashboard.

## Deploy the Vultr Marketplace Application for Supabase

Deploying Supabase on Vultr allows you to leverage a fully managed backend with PostgreSQL, authentication, buckets for storage, and serverless functions. Using the Vultr Marketplace, you can quickly deploy a Supabase instance and start building applications without complex configurations. Follow the steps below to Deploy Supabase.

1. Log in to your [Vultr Console](https://console.vultr.com/).
1. Navigate to the **Products** section, select **Compute**, and then click **Deploy Server**.

    ![Vultr Compute](https://docs.vultr.com/public/doc-assets/2104/c80e5109-8d06-4cec-b18f-070905081f83.png)

1. Choose **Dedicated CPU** as the server type.  

    ![Deploy a Vultr Server](https://docs.vultr.com/public/doc-assets/2104/88ab75fe-db31-43cc-a169-9f41110063d5.png)

1. Select a server location closest to your target audience from Vultr’s 34 global locations.

    ![Server Location](https://docs.vultr.com/public/doc-assets/2104/e639fbca-6d0a-41d3-9656-6638f3863d0c.png)

1. Select a server plan that meets your application requirements.

    ![Server Plan](https://docs.vultr.com/public/doc-assets/2104/ed8db6d8-176b-43ad-abe8-93578912da96.png)

1. Click the **Configure** button to proceed.

    ![Configure Server](https://docs.vultr.com/public/doc-assets/2104/b38a1033-a56a-4e59-b4e8-c3558f140319.png)

1. Under **Marketplace Apps**, search for **Supabase** and select it as the Marketplace Application.

    ![Vultr Marketplace Application](https://docs.vultr.com/public/doc-assets/2104/e9afcb38-d92a-4862-b50f-d20de26d6456.png)

1. Add any additional features as required.

    ![Additional Features](https://docs.vultr.com/public/doc-assets/2104/06707582-0041-4de3-88d8-eb10ac782fcf.png)

1. Review your configurations and click the **Deploy** button to start deployment.

    ![Deploy Supabase Marketplace](https://docs.vultr.com/public/doc-assets/2104/597d783d-58c3-45f7-9af7-450734fac8da.png)

1. After the deployment is completed, go to the **Compute** section under **Products** to view your Supabase instance.

    ![View Deployed Instance](https://docs.vultr.com/public/doc-assets/2104/6f8434f7-5e8d-4c7e-bf2a-2188ce735505.png)

1. Click the server to view its details and scroll down to the app instructions section.

    ![App Instructions](https://docs.vultr.com/public/doc-assets/2104/69ef5c4e-406a-4bdf-aab7-4f84a88fee4b.png)

    The app instructions section provides essential details for your Supabase Marketplace application.

## Supabase Core Features and Benefits

Supabase provides a range of services to streamline backend development. The following are the core features and benefits of Supabase.

1. **Database Management**: Supabase offers a fully managed PostgreSQL database with SQL query support, advanced indexing a built-in query editor, and schema visualization tools.

1. **Authentication**: Secure user authentication with support for email/password, OAuth providers, and third-party authentication integrations.

1. **Real-time Capabilities**: Supabase offers real-time data synchronization using PostgreSQL's replication engine.

1. **Storage**: Provides scalable file storage with secure access and seamless integration into applications.

1. **API Auto-generation**: Automatically generates RESTful APIs for all database tables and views. This saves time by using APIs that are instantly ready for CRUD (Create, Read, Update, Delete) operations.

1. **GraphQL Support**: Supabase supports GraphQL for flexible and efficient queries of complex data structures.

## Configure Supabase

After deploying Supabase on Vultr, you must configure essential settings to secure and optimize your instance. This includes updating API keys to enhance security and ensure proper authentication for database access. Supabase generates default keys during deployment, but regenerating them prevents potential security risks.

### Update Supabase API Keys

Supabase generates a JWT Secret during deployment, which you can use to regenerate the Anon and Service Role API keys. These keys authenticate your requests to Supabase and provide secure access to your database. You need to regenerate the keys to ensure security and proper authentication, as the default keys can become outdated or compromised. Follow the steps below to update your API Keys.

1. [SSH](https://docs.vultr.com/how-to-use-ssh-with-vultr-servers) into your Supabase instance and create a new directory. Replace `supabase-project` with your preferred name.

    ```console
    # mkdir supabase-project
    ```

1. Navigate to the `supabase-project` directory.

    ```console
    # cd supabase-project
    ```

1. Update the server's APT package index.

    ```console
    # apt update
    ```

1. Install the Node Package Manager (**NPM**).

    ```console
    # apt install npm
    ```

1. Install `jsonwebtoken`.

    ```console
    # npm install jsonwebtoken 
    ```

1. Retrieve the `Supabase JWT Secret` from the **App Instructions** section in the Vultr Console.

    ![Supabase JWT Secret](https://docs.vultr.com/public/doc-assets/2104/6bb5efa5-40d9-46cd-844a-b335e9a5b016.png)

1. Create a JavaScript file using a text editor such as `nano`.

    ```console
    # nano generate_keys.js
    ```

1. Add the following javascript code to the `generate_keys.js` file. Replace `your_jwt_secret` with the Supabase JWT secret you have copied.

    ```javascript
    const jwt = require('jsonwebtoken');
    
    // Replace with the JWT you copied
    const SUPABASE_JWT_SECRET = "your_jwt_secret";  
    
    const payloadAnon = {
      role: "anon",
      iss: "supabase",
      iat: Math.floor(Date.now() / 1000),
      exp: Math.floor(Date.now() / 1000) + 60 * 60 * 24 * 365 
    };
    
    const payloadServiceRole = {
      role: "service_role",
      iss: "supabase",
      iat: Math.floor(Date.now() / 1000),
      exp: Math.floor(Date.now() / 1000) + 60 * 60 * 24 * 365 
    };
    
    // Generate tokens
    const anonKey = jwt.sign(payloadAnon, SUPABASE_JWT_SECRET, { algorithm: "HS256" });
    const serviceRoleKey = jwt.sign(payloadServiceRole, SUPABASE_JWT_SECRET, { algorithm: "HS256" });
    
    
    console.log("ANON_KEY=", anonKey);
    console.log("SERVICE_ROLE_KEY=", serviceRoleKey);
    ```

1.  Execute the javascript using `node`.  

    ```console
    # node generate_keys.js
    ```

    Your output should be similar to the one below:
    
    ```
    ANON_KEY= eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlzcyI6InN1cGFiYXNlIiwiaWF0IjoxNzM5MzE2OTE1LCJleHAiOjE3NzA4NTI5MTV9._paR1mPwH0v_Z87hoLtxXNxL9DDPXq02qP52EnbEJkc
    SERVICE_ROLE_KEY= eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoic2VydmljZV9yb2xlIiwiaXNzIjoic3VwYWJhc2UiLCJpYXQiOjE3MzkzMTY5MTUsImV4cCI6MTc3MDg1MjkxNX0.cr0G2uCroQt0FQs-vvLreU3oHWzVij4Cc5NbKFZQuSc
    ```

1. To update the API keys, navigate to the Supabase docker directory.

    ```console
    # cd /home/supabase/supabase/docker/
    ```

1. Open the `.env` file with a text editor such as `nano`.

    ```console
    # nano .env
    ```

1. Find and replace the following keys with the newly generated keys. 

    ```
    ANON_KEY="your_new_anon_key"
    SERVICE_ROLE_KEY="your_new_service_role_key"
    ```

    Save and close the file.

1. To apply the changes, you have to remove and recreate the Supabase containers.

    1. Remove the Supabase containers.

        ```console
        # docker compose down
        ```

    1. Recreate the Supabase containers.
    
        ```console
        # docker compose up -d
        ```

### Optional: Access Supabase PostgreSQL Database

When you deploy Supabase Marketplace Application on Vultr, a default PostgreSQL database is automatically created. This database serves as the backend for your application, handling data storage, authentication, and queries. You can find the PostgreSQL login credentials in the App Instructions section of your Vultr instance and use them to connect directly to the database.  

1. Navigate to the `App Instructions` section of your Supabase instance, and note the PostgreSQL database login credentials.

    ![Postgres Login Credentials](https://docs.vultr.com/public/doc-assets/2104/1d4d9837-4910-4809-8310-8dd04f3f9b50.png)

1. Connect to the PostgreSQL database using the following PostgreSQL connection string format.

    ```
    postgres://<user>.<pooler_tenant_id>:<password>@<host>:<port>/<database>
    ```

    Replace the placeholders with your credentials:

    * **user**: Your PostgreSQL database user  
    * **pooler_tenant_id**: Your tenant ID (found in your Supabase `.env` file)
    * **password**: Your PostgreSQL database password  
    * **host**: Your Supabase instance IP address  
    * **port**: Default PostgreSQL port, **5432**  
    * **database**: Default database, **postgres**
    
    >[!NOTE]
    >The pooler tenant ID is required for authentication when connecting to a Supabase database deployed via Docker, including the Vultr Marketplace version. Without it, authentication will fail.

1. To find or update your **pooler tenant ID**, navigate to your Supabase docker directory:

    ```console
    # cd /home/supabase/supabase/docker/
    ```

1. Open the `.env` file.                                                 

    ```console
    # nano .env
    ```

1. Look for the **POOLER_TENANT_ID** variable and update it with your preferred ID.

    ```
    POOLER_TENANT_ID=your-tenant-id
    ```

1. To apply the changes, you need to remove and recreate the Supabase containers.

    1. Remove the Supabase containers.

        ```console
        # docker compose down
        ```

    1. Recreate the Supabase containers.
    
        ```console
        # docker compose up -d
        ```

    You can use this connection string in database clients like **pgAdmin**, **DBeaver**, or directly in your **application**.

## Explore Supabase Dashboard

This section guides you through the Supabase dashboard and its key features. You will manage your database, tables, run SQL queries, create storage buckets, and set up user authentication.

1. Open a browser tab and enter `http://<ip-address>:8000`. Replace `<ip-address>` with your Supabase instance's IP address.


1. Enter the `username` and `password` from the App Instructions to log in to the Supabase Admin dashboard.

    ![Login](https://docs.vultr.com/public/doc-assets/2104/d36cecc3-a33f-4850-8862-005d9efbfc60.png)

1. After logging in, the Supabase dashboard displays.

    ![Supabase Admin Dashboard](https://docs.vultr.com/public/doc-assets/2104/d062a984-a35a-4d2d-9259-67e2c125e8d8.png)

### Manage the Database

1. Navigate to the **Database** section in the side menu and click **Tables**.  

1. Click **New Table** to create a new table.

    ![New Table](https://docs.vultr.com/public/doc-assets/2104/7bf43bba-8a25-49e6-8533-f1c920c57790.png)

1. Enter a `name` and `description` for the table.
 
    ![Create Table](https://docs.vultr.com/public/doc-assets/2104/3d9baff4-da5e-4406-a998-1aedbf2c3043.png)
 
1. Click **Add Column**, and specify the `name`, `datatype`, and `constraints`.

    ![Add Column](https://docs.vultr.com/public/doc-assets/2104/b4b1e779-315b-4c35-8f25-c9ed996d0dc4.png)

    Click Save to create the table.  

### Run SQL Queries

1. Supabase allows you to run SQL queries via the dashboard. To insert values into the created table, navigate to the `SQL Editor` section in the side menu.

1. In the SQL Editor, enter the following query and click Run.

    ```sql
    INSERT INTO vultr_table (name, phone_no)  
    VALUES ('John Doe', '1234567890');
    ```

    ![SQL-Query.png](https://docs.vultr.com/public/doc-assets/2104/2fd8a801-92c2-4142-b50a-e1faaa907c46.png)

    Output:

    ```
    Success. No rows returned
    ```

### Manage Storage

1. To manage your files, navigate to the **Storage** section in the side menu.  

1. Click **New Bucket** to create a new storage bucket.

    ![New Bucket](https://docs.vultr.com/public/doc-assets/2104/1b0c9948-5496-49dc-9d40-4c40b9176608.png)

1. Enter a **Bucket Name**, configure access permissions, and set a file size limit. Click Save.

    ![Bucket creation interface](https://docs.vultr.com/public/doc-assets/2104/2c887c2b-6625-4430-a9b5-04ce678d0ce1.png)

1. Upload a file.
    
    ![Failed-To-Upload-File.png](https://docs.vultr.com/public/doc-assets/2104/3160c4b6-c78c-4fec-aafb-940379f8f2a4.png)

    If the upload fails with "**Failed to upload 1 file!**" update the configuration to resolve the issue:

    1. Access your server and navigate to your Supabase docker directory.

        ```console
        # cd /home/supabase/supabase/docker/
        ```

    1. Open the `.env` file

        ```console
        # nano .env
        ```

    1. Look for the **SUPABASE_PUBLIC_URL** variable and update it with your Supabase instance public IP:

        ```console
        SUPABASE_PUBLIC_URL=http://<ip-address>:8000
        ```

        Replace `<ip-address>` with your actual public IP.

    1. To apply the changes, you need to remove and recreate the Supabase containers.

        1. Remove the Supabase containers.

            ```console
            # docker compose down
            ```

        1. Recreate the Supabase containers.
        
            ```console
            # docker compose up -d
            ```

    1. Try uploading the file again.

        ![Uploaded-File-Successfully.png](https://docs.vultr.com/public/doc-assets/2104/14137e73-1239-4f0f-a59f-be3da3aba5ea.png)

### Configure Authentication

1. Supabase allows you to create and manage users for authentication and access control. To add a new user, navigate to the **Authentication** section in the side menu.

    ![Authentication](https://docs.vultr.com/public/doc-assets/2104/094cc281-a51f-4300-9098-895487565d16.png)

1. Click `Add User`, then `Create New User`.

1. Enter an `email address` and `password`, then click `Create User`.

    ![Create new user](https://docs.vultr.com/public/doc-assets/2104/17e980fc-e1db-44be-b25d-660ad1533f81.png)

    Your user will be created.
    

## Conclusion

You have deployed Vultr's Supabase Marketplace Application and explored its core features such as database management, storage, and authentication. You can save setup time and focus on actual application development using multiple Supabase features on your server.
