Back to previous >

(Step 1) How to setup your vector database with Supabase and prepare OpenAI API for embeddings

Hi no-coders! Welcome to part 2 of the course. In this part, we will be going through how to easily host your own Flowise interface with Railway. We will then cover how to setup your PDF upsert chatflow, Web scraping upsert chatflow and also a query chatflow.

<aside> <img src="https://prod-files-secure.s3.us-west-2.amazonaws.com/add94f13-0c11-4513-b858-09cbb60c3da1/12f33c88-351c-4ac7-8c73-1dd96048c7c1/Railway_App.png" alt="https://prod-files-secure.s3.us-west-2.amazonaws.com/add94f13-0c11-4513-b858-09cbb60c3da1/12f33c88-351c-4ac7-8c73-1dd96048c7c1/Railway_App.png" width="40px" /> ——————————————————————————————————————————————

Host FlowiseAI on Railway.app

Step 1: Create a Github account for free (if you have already created one in part 1, skip this)

Step 2: Create a Railway account for free with your Github account

Step 3: User my template below to deploy and host your own Flowise. You can add your username and password variable there if you want to prevent others from using your Flowise through your domain. This is optional.

Step 4: Now you can access your own Flowise interface from either the railway app domain or your own custom domain. Simply click on the link and log into your Flowise!

You can find your railway domain or add your custom domain from the Settings tab.

You can find your railway domain or add your custom domain from the Settings tab.

</aside>

<aside> <img src="https://prod-files-secure.s3.us-west-2.amazonaws.com/add94f13-0c11-4513-b858-09cbb60c3da1/0eb84c9e-de56-4b32-bb2a-37d371b690b5/Flowise.png" alt="https://prod-files-secure.s3.us-west-2.amazonaws.com/add94f13-0c11-4513-b858-09cbb60c3da1/0eb84c9e-de56-4b32-bb2a-37d371b690b5/Flowise.png" width="40px" /> ——————————————————————————————————————————————

Setup PDF Upsert chatflow on Flowise

Step 1: Create a new chatflow and name it “PDF Upsert”

Untitled

Untitled

Step 2: Download and load the following PDF Upsert + Query Combined Flow (Updated 12 March 2024) Chatflow

https://drive.google.com/file/d/1n0SzjJP2RNWDO7sLejXdtJZaj8NyCD0C/view?usp=drive_link

Untitled

Step 3: Create and plug your OpenAI API key (which we have setup previously) into the OpenAI Embedding node and OpenAI node

Step 4: Create and plug Supabase API key, Project URL (which we have setup previously) into the Supabase node

Untitled

</aside>

<aside> <img src="https://prod-files-secure.s3.us-west-2.amazonaws.com/add94f13-0c11-4513-b858-09cbb60c3da1/8e803377-fdf8-4ce6-96df-184e351f75b6/Flowise.png" alt="https://prod-files-secure.s3.us-west-2.amazonaws.com/add94f13-0c11-4513-b858-09cbb60c3da1/8e803377-fdf8-4ce6-96df-184e351f75b6/Flowise.png" width="40px" /> ——————————————————————————————————————————————

Setup Website Upsert chatflow on Flowise

Step 1: Create a new chatflow and name it “Website Upsert”

Untitled

Untitled

Step 2: Download and load the following Web Upsert + Query Combined Flow (Updated 12 March 2024) Chatflow

https://drive.google.com/file/d/1d0OUU01o4eDOPiCWpXZCVnngkHA7JO_p/view?usp=sharing

Untitled

Step 3: Create and plug your OpenAI API key (which we have setup previously) into the OpenAI Embedding node and OpenAI node

Step 4: Create and plug Supabase API key, Project URL (which we have setup previously) into the Supabase node

Untitled

</aside>

<aside> <img src="https://prod-files-secure.s3.us-west-2.amazonaws.com/add94f13-0c11-4513-b858-09cbb60c3da1/3a45db23-1b7f-43c0-898e-fca31558a091/Flowise.png" alt="https://prod-files-secure.s3.us-west-2.amazonaws.com/add94f13-0c11-4513-b858-09cbb60c3da1/3a45db23-1b7f-43c0-898e-fca31558a091/Flowise.png" width="40px" /> ——————————————————————————————————————————————

Setup Query chatflow on Flowise

Step 1: Create a new chatflow and name it “Universal Query”

Untitled

Untitled

Step 2: Download and load the following Universal Query Supabase Chatflow

https://drive.google.com/file/d/1YVfpzEw_s0VYHY5Jvkn5RKWXor8rMclj/view?usp=share_link

Untitled

Step 3: Create and plug your OpenAI API key (which we have setup previously) into the OpenAI Embedding node and OpenAI node

Step 4: Create and plug Supabase API key, Project URL (which we have setup previously) into the Supabase Load Existing Index node

Untitled

</aside>

Anddd Tadaaaa! We are all ready to go here! Let’s now continue to the next part of our course where we will be connetcing Flowise with Flutterflow!

If you need more support, join my new Discord channel to post your questions and I will answer them within 2 business days!

Join the NOMO CODES Discord Server!