ByteChef LogoByteChef

Supabase

Supabase is an open source Firebase alternative. Start your project with a Postgres database, Authentication, instant APIs, Edge Functions, Realtime subscriptions, Storage, and Vector embeddings.

Categories: Developer Tools

Type: supabase/v1


Connections

Version: 1

bearer_token

Properties

NameLabelTypeDescriptionRequired
projectUrlProject URLSTRINGCan be found in Project Settings -> Data API.true
tokenProject API KeySTRINGCan be found in Project Settings -> API Keys. Copy key under Secret keys.true

Connection Setup

Find Project URL

  1. Navigate to your Supabase dashboard.
  2. Click on Dashboard.
  3. Click on your organization.
  4. Click on your project.
  5. Click on Project Settings.
  6. Click on Data API.
  7. Click on Copy.

Find Project API Key

  1. Navigate to your Supabase dashboard.
  2. Click on Dashboard.
  3. Click on your organization.
  4. Click on your project.
  5. Click on Project Settings.
  6. Click on API Keys.
  7. Here you can copy your Secret key.

Actions

Upload File

Name: uploadFile

Upload file to Supabase Bucket.

Properties

NameLabelTypeDescriptionRequired
bucketNameBucket NameSTRINGtrue
fileNameFile NameSTRINGName of the file that will be uploaded.true
fileFile EntryFILE_ENTRYFile you want to upload to Supabase.true

Example JSON Structure

{
  "label" : "Upload File",
  "name" : "uploadFile",
  "parameters" : {
    "bucketName" : "",
    "fileName" : "",
    "file" : {
      "extension" : "",
      "mimeType" : "",
      "name" : "",
      "url" : ""
    }
  },
  "type" : "supabase/v1/uploadFile"
}

Output

Type: OBJECT

Properties

NameTypeDescription
KeySTRINGKey of the file that was uploaded.
IdSTRINGId of the file that was uploaded.

Output Example

{
  "Key" : "",
  "Id" : ""
}

How to find Bucket Name

  1. Navigate to your Supabase dashboard.
  2. Click on Dashboard.
  3. Click on your organization.
  4. Click on your project.
  5. Click on Storage.
  6. There you can see your buckets and their names.

What to do if your action is not listed here?

If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.

To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.

How is this guide?

Last updated on

On this page