FREE: Self-Host FlowiseAI On Coolify🤖 AI Agent Low-Code Builder🦜 Langchain & LlamaIndex
Links from the video
Transcript
2,573 wordsWhat's going on everybody Josh pook here and in today's video I'm going to show you how you can set up and self-host flow wise AI in the easiest way possible this is a opsource low code tool for developers to build customized llm orchestration flow and AI agents and I'm going to show you how you can do all of this using coolify let's dive right into it [Music] all right so if you're not familiar with coolify I've done many videos on it
Recently so check some of those out but basically to sum it up it's a very easy self-hosting platform it's open source as well it's an alternative to Heroku netfi and versel and you can do this with pfy or you can do it just simply with flow wise you can do it either way and I'll show you both but um specifically I'm going to really show you how to do this with coolify so if you're new to coolify or if you want
To use coolify you can just go to coolify doio link for that will be in the description and you just run this Command right here all right very simple setup once you do that you will have something that looks like this coolify and I'm going to go to projects and create a new project here called flow wise AI test okay and we'll come back to this in just a second now if I go over to flow wise just to give you
A quick overview here is what flow wise kind of looks like on their website and you can see different things you know connecting with Lang Chang llama index 100 100 plus Integrations agents and assistance custom tools open AI function agent API SDK enabled or embed um react SDK open source llms hugging face olama local AI replicate mraw um Lava self host on AWS Azure Etc so different use cases right lot of cool stuff here query ssql database customer support so you
Can create these BS there's a bunch of videos onflow wise that you can check out and I'll do more as well teaching you guys updates and it's essentially a dragon drop Builder all right now if we go over to they have a community and stuff too you can check out more about flow wise link for that will be in the description here's their actual uh Discord sorry their GitHub right here so um build llm apps easily drag and drop Builder so
Few different ways you can install it you can install it you know using npm install G flow wise start flow wise like so and then with username and password you can also use Docker compose like so run image Etc now I'm going to be showing you how you can do this and it's very simple if you do it that way um but I'm going to show you how you can do it with coolify and the reason I like using coolify is
You can easily manage multiple self-hosted op Source um apps and you'll see that in just a second if you're new to coolify so if you're new to coolify and you wonder why you would want to use it just watch this video and you'll see how easy it is now also too you may be wondering if you are using coolify okay well I know how to use ify and I know how to um so basically so say see we just created this
Project once you're in the uh a project of coolify you'll see an environment it's always going to be production you could add another environment but we'll just go into production and then in resources if we click add resources you'll see that uh coolify has a lot of like pre uh you know uh install services so we have databases here you can use Docker stuff and then Services right so I've showed different videos on how to install some of these services like
N8n um super base Etc now you may be wondering there's WordPress too okay well how do I install something using GitHub or whatnot so we're going to show you how to do that today with flow wise so first off with depending on the GitHub um or the repository you may need to Fork it um and that's what I did so I had to Fork flow WI basically so I could change cuz okay there's a few different ways you can install it
With kify um and you know I'm still learning more and more about coolify and how to use it and all this stuff I'm just going to show you what works best for me what I found so to do this we go to public repository okay once we do that I'm going to and if you don't know how to Fork something um like for example this is their main repo uh all I did well you can Fork it in many ways I
Was just in the docker file or you can do it you don't have to do it this way but I just want edit and it's going to say you're going to have to Fork this project because essentially what I wanted to do oh did I just Fork it no wait what um okay well anyways you're going to have to Fork the file um the whole repo which I did right here okay once you Fork it um I went into Docker and
Docker compose because I'm going to be installing this through Docker okay now let's just see here so this is all so if I go to um this is flow wise's documents installed or they yeah they documents so you can read um get more information here but the main thing that we're looking at is the environment variables okay because these are the things right here that you can add to flow wise in your install right and I basically just put the Bare
Bones for what we need which is um right here so the environment is Port 3000 flow wise username um this is obviously what we're using for this test here right right and so flow wise username user flow wise password password um port and then um security key and if you Fork flow wise you can pretty much just let's see so here I'll show you what the main the original Docker composed file looks like so let's go here oops go cancel go
Here and Docker Docker compose so it's a bit longer um and yeah you can pretty much delete a lot of this now some of it you may want to add in later and then just redeploy all right for certain things you need this was what I found was the base bones to just get it up and running and then some of this you may want to add or you know change around afterwards maybe certain things right but um I'll even leave
This in the description down below so you can just copy mine and use it once you change that you're going to want to commit those changes on the forked repo and then you're going to use this repo so I'm going to use everything the main branch of the repo and I'm just going to paste it right here okay and I'm going to check repository once I do that it's going to ask me how do I want to install it so there's
Few different build packs there's NYX packs static Docker file and Docker compose reason why you know edit the docker and everything is we're going to use Docker compose all right Docker compose continue okay and then I'm just going to I mean you could change the name whatever flow okay and save so basically we're going to want to Docker and then here so we're going to want to put the docker compos file location here so as you can see the docker compos
File doesn't have a an a here in this one so it's Docker compos and the it's in the folder of Docker so you're just going to want to put this in the docker file location so sler docker-compose.yml make sure you don't have the a there then you're going to want to reload the composed file that's going to reload it into your coolify all right from that point on we're going to want to go to our environment variables because we have the
Environment variables and we're going to want to set these actually wait actually they're already set just because of the docker compos file so obviously this is just for testing purposes this is not the user password Etc that um you know you're going to want to use you're going to actually want to change this of course to like an actual secure password and all this stuff but from that point on we're just you know for the sake of this video which I'm
Going to delete this uh afterwards we're just going to use this and we can simply just go deploy and it's going to start deploying we're going to see everything right here importing we can go show debug logs okay so something's not working right driver fil oh it's cuz I'm already using this port okay so um since I'm using that on another blow wise I may have to go ahead and change this port let's just go ahead in here edit this compose
File um just for the sake of this video we can do this 301 subit here okay then let's go and reload this hit 301 environment variables Port 301 okay and then update all right now let's go deploy this okay so it started um oh one thing I should have done is let me just generate a domain here okay and then let me just redeploy okay success let's go ahead and just check this domain obviously this will all be deleted and [Music]
Boom there we have it user password boom and we're in flow wise okay so obviously I'm going to delete this after because I already have a flow wise and this is just a test you can see here we can go add chat flow we can go add you know different let me click here you can add agents Lang chain llama index all right see agents here we can you know baby AGI let me just delete this um air table agent agent
Used to answer queries on air table Auto GPT baby AGI conversational agent conversational retrieval agent mistal tool agent open AI tool agent um you know you have different memory options here redis uh in memory cash Chains Get API chain post API chain SQL chain chat models all the different chat model options here hugging face mraw open AI Gro document loaders API loader um air table loader uh appify web content crawler load data from apify Cheerio web scraper all right figma GitHub
Notion S3 embeddings we got different embeddings Google hugging face Voyage llms memory we got zap we got mongod DB um bunch of different options here output parsers prompts record managers retrievers teex Splitters tools all right python interpreter it's a really awesome tool as you can see here I'm just trying to give you guys a little brief overview here Vector databases just so you get a idea quadrant super base all right Vector stores this is new Astra chroma so yeah I'm very
Excited uh we got postgress here to get in here play around with this tool llama index and beta so really awesome stuff that we're seeing here we can go ahead go back agent flow you can add new agents you can go to Marketplace check out the marketplace of Agents tools great tools assistance open AI assistance credentials variables API Keys document stores You Got The Whole Nine Yards all right guys so um hope this helps you get flow wise installed you can
Start playing around with it you know learn it more if you're new to it and the same thing with coolify and this also shows you how you can install other Hub repo change the docker compos file and then uh or change the environment variables Etc this applies for different installs too which I'll show more in the future on this channel same thing with flow wise I'll show more videos with flow wise as well as stuff like NM all the different tools
So if you're into AI automation if you're into building AI assistance if you're new to this channel we upload videos every single day just like this and a lot more Val if you got value from this we have a lot more value on this channel and a lot more coming so I I re uh we're not going anywhere we're not stopping we're not um you know decreasing value my whole goal is to keep increasing the free value I provide to you
Guys here so if you want to stay up to date with that if you want to see what's coming next and the daily videos then um and you got value from here uh then I would definitely appreciate uh subscription it definitely helps subscribe down below really trying to grow this Channel and then um yeah like the video comment if you have any questions I'll definitely respond and try to help you guys out if you have any ISS issues other than that
Guys if you're new to this Channel and you haven't already joined our free community stride Community Link for that will be in the description down below we have a free Facebook group and free Discord Channel with about 750 to 800 members in there so if you're AI Enthusiast entrepreneur business owner coach consultant marketing agency B2B SAS service based business whatever the case may be uh join that link it's 100% free and you can network with like-minded individuals a part of this
Growing Community like yourself as well as myself and uh so my socials are down below as well in the description Instagram uh Twitter Etc you can follow me on there to stay up to date and connect with me and then other than that guys if you haven't already checked out my book client acquisition code definitely check it out it's super Super Value packed and if you want help implementing things like AI Bots AI cold callers whatever the case may be anything
To get more leads grow your business set up systems automations really good systems into your business so you can scale to 10K 50k 100K a month whatever the case may be book a call with myself and my team executiv stride. comom slapp executiv stride. comom slapp where you can speak to us and see if it's a good fit or see if we can even help you um and we can do some sort of partnership and grow your business together other than
That guys I will see you in tomorrow's video keep hustling keep grinding and of course guys accelerate your stride take care are