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
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| projectUrl | Project URL | STRING | Can be found in Project Settings -> Data API. | true |
| token | Project API Key | STRING | Can be found in Project Settings -> API Keys. Copy key under Secret keys. | true |
Connection Setup
Find Project URL
- Navigate to your Supabase dashboard.
- Click on Dashboard.
- Click on your organization.
- Click on your project.
- Click on Project Settings.
- Click on Data API.
- Click on Copy.
Find Project API Key
- Navigate to your Supabase dashboard.
- Click on Dashboard.
- Click on your organization.
- Click on your project.
- Click on Project Settings.
- Click on API Keys.
- Here you can copy your Secret key.
Actions
Upload File
Name: uploadFile
Upload file to Supabase Bucket.
Properties
| Name | Label | Type | Description | Required |
|---|---|---|---|---|
| bucketName | Bucket Name | STRING | true | |
| fileName | File Name | STRING | Name of the file that will be uploaded. | true |
| file | File Entry | FILE_ENTRY | File 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
| Name | Type | Description |
|---|---|---|
| Key | STRING | Key of the file that was uploaded. |
| Id | STRING | Id of the file that was uploaded. |
Output Example
{
"Key" : "",
"Id" : ""
}How to find Bucket Name
- Navigate to your Supabase dashboard.
- Click on Dashboard.
- Click on your organization.
- Click on your project.
- Click on Storage.
- 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