ByteChef LogoByteChef
Components

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 -> Data API. Choose service_role/secret API key.true

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" : ""
}

Additional Instructions

Connection Setup

Find Project URL

  1. Navigate to your Supabase dashboard.
  2. Click on the project you want to connect to.
  3. Click on Project Settings.
  4. Click on Data API.
  5. Click on Copy.

Find Project API Key

  1. Navigate to your Supabase dashboard.
  2. Click on the project you want to connect to.
  3. Click on Project Settings.
  4. Click on API Keys.
  5. Click on API Keys.
  6. Click on Create new API keys.
  7. Click on Create keys.
  8. Click here to copy the API key.