How to Build Custom AI Chatbots πŸ”₯(No Code)

No-Code Ireland
23 Jul 202322:37

Summary

TLDRThis tutorial offers a comprehensive guide to creating and deploying AI chatbots using the Flowwise AI platform. It starts with the installation process, including setting up Node.js and Flowwise AI on a local machine. The video then demonstrates building a chatbot with a custom knowledge base, utilizing a drag-and-drop interface. It covers the use of templates, configuring the Open AI API, and testing the chatbot. The tutorial also explains how to deploy the chatbot to the cloud using GitHub and Render.com for a persistent online presence. Finally, it shows how to embed the chatbot into a website, providing a hands-on approach for non-coders to create interactive AI chatbot experiences.

Takeaways

  • 🌟 The tutorial introduces Flowwise AI, a drag-and-drop visual AI chatbot builder that allows users to create unique chatbot experiences.
  • πŸ› οΈ The tool is entirely free to install and use, as demonstrated through the provided installation instructions.
  • πŸ’» The first step in the installation process is downloading Node.js from nodejs.org, which is essential for non-coders and coders alike.
  • πŸ” The tutorial provides a step-by-step guide on how to access and use Flowwise AI, even for those without coding experience.
  • πŸ“ The process involves using the command prompt on a computer to install and run Flowwise AI locally on port 3000.
  • πŸ”— Flowwise AI offers a user-friendly interface with a dashboard for adding chat flows and deploying chatbots to websites or web apps.
  • πŸ“š The platform includes a marketplace with numerous templates for various use cases to help build complex chatbot models and flows.
  • πŸ“‘ The tutorial focuses on creating a simple conversation chain using a document module to build a website FAQ-style chatbot.
  • πŸ”‘ To function, the chatbot requires an OpenAI API key, which can be obtained from the OpenAI website.
  • πŸš€ The video also covers deploying the chatbot to the cloud using GitHub and a hosting service like Render.com for wider accessibility.
  • πŸ”’ For security, the tutorial explains how to set up a username and password to protect the chatbot instance in the cloud.

Q & A

  • What is the purpose of the tutorial in the video?

    -The tutorial aims to guide viewers on how to create and deploy AI chatbots using a drag and drop visual AI chatbot builder called Flowwise AI.

  • Is Flowwise AI a free tool?

    -Yes, Flowwise AI is entirely free to use for creating chatbots.

  • What is the first step in installing Flowwise AI?

    -The first step is to download Node.js from nodejs.org.

  • How do non-coders access and use Flowwise AI?

    -Non-coders can access Flowwise AI by using the command prompt on their computer to install and run the software.

  • What does 'npm install -g flowwise' command do in the installation process?

    -This command installs the Flowwise AI software onto the user's computer.

  • How can users access the locally installed Flowwise AI?

    -Users can access Flowwise AI locally by going to localhost:3000 in their web browser.

  • What is the main dashboard in Flowwise AI used for?

    -The main dashboard is used to add and manage chat flows, which are individual chatbots with specific functionalities.

  • What is a chat flow in the context of Flowwise AI?

    -A chat flow represents a specific chatbot with a certain functionality or ability within Flowwise AI.

  • How can users get their chatbot online for others to use?

    -Users can deploy their chatbot to the cloud using services like Render and then embed it into their website or web app.

  • What is the importance of using 'gpt-3.5-turbo' instead of 'gpt-4' in the tutorial?

    -Using 'gpt-3.5-turbo' is recommended for testing and playing around as it is cheaper than 'gpt-4', thus avoiding high costs.

  • How does the tutorial help in building a customer service type chatbot for a website?

    -The tutorial guides users through building a chatbot that can answer questions about a website's services by using a text document as its knowledge base.

  • What is GitHub and how is it used in the deployment process?

    -GitHub is a code repository where developers store and share code. It is used to create a copy of the Flowwise AI application for deployment.

  • What is Render and how does it relate to deploying Flowwise AI?

    -Render is an app for hosting web services. It is used to deploy the Flowwise AI application online, making it accessible on the internet.

  • Why is persistence important when deploying Flowwise AI on Render?

    -Persistence ensures that the data and chat flows created in the Flowwise AI application are saved and do not get lost when the app is restarted or redeployed.

  • How can users protect their Flowwise AI cloud instance from unauthorized access?

    -Users can set up a username and password within the Render environment to protect their Flowwise AI cloud instance from unauthorized access.

  • How can the chat flow created locally be uploaded to the cloud version of Flowwise AI?

    -The chat flow can be exported from the local environment and then imported into the cloud version of Flowwise AI through the 'add new' option.

  • What is the final step to integrate the deployed chatbot into a website?

    -The final step is to copy the provided HTML snippet from the cloud-hosted version of Flowwise AI and embed it into the website's code.

Outlines

00:00

πŸ€– Introduction to Flowwise AI Chatbot Builder

This paragraph introduces the tutorial's focus on Flowwise AI, a drag and drop visual AI chatbot builder. The speaker will guide viewers on creating unique AI chatbot experiences, installing the free tool, and deploying it on personal websites or web projects. The tutorial aims to reduce the learning curve for non-coders by providing step-by-step instructions on setting up Flowwise AI, starting with downloading Node.js and using the command prompt to install the necessary software. The goal is to empower users to build and deploy chatbots without coding knowledge.

05:00

πŸ“š Building a Knowledge Base AI Chatbot

The second paragraph delves into the process of building a custom knowledge base AI-powered chatbot using Flowwise AI's drag and drop interface. The speaker discusses the workflow, starting with accessing the marketplace for templates and selecting a simple conversation chain. The template consists of a language model, memory module for context, and a document loader for additional data. The tutorial then moves on to configuring the OpenAI API key and testing the chatbot within the workspace. The aim is to create a chatbot that can answer user queries by referencing a provided document, such as a website's FAQ.

10:01

πŸš€ Deploying the Chatbot to a Web Hosted Platform

In this paragraph, the focus shifts to deploying the locally built chatbot to a web-hosted platform. The speaker outlines the process of setting up a GitHub account to store and share code, and then using Render.com to deploy the Flowwise AI application online. The tutorial covers creating a GitHub fork of Flowwise, connecting it to Render, and configuring the web service with the appropriate settings for deployment. The speaker emphasizes the importance of persistence, opting for a paid plan to ensure that the chatbot's data and progress are saved across sessions.

15:01

πŸ” Ensuring Security and Persistence in the Cloud

The fourth paragraph addresses the importance of security and data persistence when deploying the chatbot in the cloud. The speaker explains how to set up persistence by adding a disk and configuring environment variables in Render. This ensures that the chat flows and user data are saved and retained even when not actively using the application. Additionally, the tutorial covers how to protect the cloud instance by setting up a username and password, preventing unauthorized access to the chatbot's workings.

20:03

πŸ› οΈ Embedding the Chatbot into a Live Web Page

The final paragraph concludes the tutorial by demonstrating how to embed the deployed chatbot into a live web page. The speaker shows how to use the embed pop-up HTML snippet provided by Flowwise AI to integrate the chatbot into a website. The process involves copying the HTML code and pasting it into a custom code block within the website's content management system. The result is a functional chatbot that can interact with website visitors, providing information and assistance based on the chat flows created during the tutorial.

Mindmap

Keywords

πŸ’‘Drag and Drop

Drag and drop is a user interface concept where users can move items by clicking, holding, dragging, and releasing them. In the context of the video, it refers to the ease of use of the AI chatbot builder, allowing users to create chatbot experiences without needing to write code. The script mentions building a chatbot using a 'drag and drop visual AI chatbot builder', emphasizing the simplicity and accessibility of the process.

πŸ’‘AI Chatbot

An AI chatbot is an artificial intelligence-powered conversational agent designed to interact with humans through text or voice. The video's main theme revolves around creating unique AI chatbot experiences for users. The script discusses how to install and deploy an AI chatbot using 'flowwise AI', which is a tool for building these chatbots.

πŸ’‘Flowwise AI

Flowwise AI is the specific chatbot builder tool featured in the video. It is used to create and deploy AI chatbots. The script provides a tutorial on how to use Flowwise AI, from installation to embedding the chatbot into websites, showcasing its capabilities and ease of use.

πŸ’‘Node.js

Node.js is a JavaScript runtime that allows developers to run JavaScript on the server side. In the script, Node.js is mentioned as the first step in the installation process for the Flowwise AI tool, indicating that it is a prerequisite for setting up the chatbot builder environment.

πŸ’‘Command Prompt

The command prompt is a command-line interface on Windows systems that allows users to interact with the operating system and execute commands. The video script instructs viewers on using the command prompt to install necessary software like 'npm install -g flowwise' for setting up the chatbot builder.

πŸ’‘NPM

NPM stands for Node Package Manager, a tool that comes with Node.js and allows users to install and manage packages. The script mentions installing Flowwise AI via NPM with the command 'npm install -g flowwise', which is a standard way of adding new functionalities to Node.js applications.

πŸ’‘Knowledge Base

A knowledge base is a collection of information or data that is used to support decision-making and provide answers to queries. In the context of the video, building a custom knowledge base AI-powered chatbot is discussed, which means creating a chatbot that can access and use information from a specific knowledge base to answer user questions.

πŸ’‘Deployment

Deployment refers to the process of making a software application or service available for use. The video script covers how to deploy the AI chatbot created with Flowwise AI onto the cloud, making it accessible beyond the local machine and embedding it into websites.

πŸ’‘GitHub

GitHub is a web-based platform used for version control and collaboration that allows developers to manage and host their code. The script mentions GitHub as a necessary step for deploying the chatbot, where users can fork the Flowwise AI repository to their own GitHub account.

πŸ’‘Persistence

Persistence in the context of software refers to the ability of an application to retain its data or state over time. The video discusses the importance of setting up persistence for the Flowwise AI application on render.com to ensure that the chat flows and data are saved and do not get lost when the application is restarted.

πŸ’‘Render.com

Render.com is a cloud computing platform that offers hosting services for web applications. The script describes using Render.com to host the Flowwise AI application, allowing for online access and deployment of the chatbot, and setting up persistence and security measures.

Highlights

Introduction to Flowwise AI, a drag and drop visual AI chatbot builder.

How to create unique AI chatbot experiences for users.

Installation of Flowwise AI tool, which is entirely free.

Deployment and embedding of the chatbot into websites and web projects.

Accessing the Flowwise AI website for installation instructions.

Downloading Node.js as the first step in the installation process.

Instructions for non-coders on how to access and use Flowwise AI.

Using the command prompt to install npm and Flowwise AI.

Running the software on port 3000 to access it through a web browser.

Building a custom knowledge base AI-powered chatbot step by step.

Overview of the Flowwise AI interface and its main dashboard.

Using marketplace templates to build complex chatbot models and flows.

Creating a simple conversation chain with a document and language model.

Using Airtable to feed data into the large language model.

Building a large knowledge base around a specific topic.

Importing chat flows from the desktop version to the cloud version.

Deploying the chatbot to a web-hosted platform using GitHub and Render.

Ensuring persistence of data in the cloud instance of Flowwise AI.

Securing the cloud instance with a username and password.

Embedding the chatbot into a webpage using the provided HTML snippet.

Transcripts

play00:00

in this tutorial I'm going to show you

play00:01

everything you need to know about this

play00:03

amazing drag and drop visual AI chatbot

play00:06

Builder I'm going to show you how you

play00:08

can create really unique AI chatbot

play00:10

experiences for your users how to

play00:12

install this tool which is entirely free

play00:14

and most importantly how to get it

play00:15

deployed and embedded into your own

play00:17

websites and Web projects

play00:25

so the two we're going to be using is

play00:27

called flowwise AI if you come over to

play00:30

flowwiseai.com and there's a link in the

play00:33

description of the video below you'll be

play00:35

able to find the installation

play00:37

instructions but luckily I'm going to go

play00:39

through that for you quickly now in the

play00:41

next minute or so so that you'll be up

play00:42

set up and ready to go and cut the

play00:45

learning curve in half so if you just

play00:47

come over to nodejs.org and again the

play00:49

link will be in description of the video

play00:50

and download node.js that's your first

play00:55

step in this installation process if

play00:57

you're not a coder and if you're a no

play00:59

coder like myself you probably will

play01:01

never have installed node.js if you're a

play01:04

coder you probably already have this

play01:05

installed if we now come back to

play01:07

flowwise AI it gives you very brief

play01:10

instructions as to how to get started

play01:11

for me as a no coder I didn't find this

play01:14

overly useful because I didn't know even

play01:16

where to go to put these these Snippets

play01:19

in but luckily I'm here to give a little

play01:22

bit more information for no coders out

play01:24

there into how to actually access this

play01:25

really powerful tool the way you need to

play01:27

go is on your computer you need to find

play01:29

the command prompt and where you find

play01:31

that is by going into your search bar

play01:33

and searching for command prompt and

play01:36

we'll get out the command prompt you'll

play01:37

open that up

play01:39

and this is where you basically follow

play01:42

these instructions so I'm gonna install

play01:44

npm

play01:46

oops npm install Dash G flowwise now

play01:51

I've already installed limo system but

play01:53

what you do is when you type that in you

play01:55

simply hit enter and you're probably

play01:57

gonna need to wait a few minutes there's

play01:59

gonna be a big load of text that flows

play02:00

down through this the screen here and

play02:02

it's just basically installing the

play02:04

flowwise software onto your computer and

play02:07

when that process is finished it will

play02:09

let you know that it's finished and then

play02:10

all you need to do is hit npx slowwise

play02:14

start and once you hit that what this is

play02:18

doing there is is running the software

play02:20

that you've just installed and it is

play02:23

um

play02:24

it's going to run it on on a port 3000

play02:26

essentially and all that means is that

play02:29

you can access it through your web

play02:30

browser by simply going to localhost or

play02:34

colon 3000 and going there and now we've

play02:37

got flowwise running locally on our

play02:40

computer this is our own private instant

play02:42

that is unique to your computer or your

play02:44

machine that you've installed on and

play02:46

you're now able to use this software

play02:48

completely free of charge to build as

play02:49

many chat Bots as you like and in the

play02:51

next part of this video that's exactly

play02:53

what we're going to do we're going to

play02:54

show you step by step how to build your

play02:56

very own custom knowledge base AI

play02:59

powered chatbot and we're going to go

play03:01

through this workflow here and show you

play03:03

how to use the glowwise drag and drop

play03:06

user interface get this all set up and

play03:08

running and make sure you stick around

play03:09

to the end because we're going to show

play03:10

you when you have this build out how you

play03:13

can then take it from your private

play03:15

machine and push it into the cloud so

play03:17

that you can make a version of it

play03:19

available not just for your own private

play03:21

use but so that you can make it

play03:22

available for people on your website

play03:24

site or inside of a web app that you

play03:26

might be building or anywhere online

play03:28

that you might want to use as opposed to

play03:29

just being local and personal to your

play03:32

use so first a brief overview of the

play03:34

flowers AI interface this is your main

play03:37

dashboard you can add chat flows here

play03:40

each of these boxes represent an

play03:42

individual chat flow and a chat flow is

play03:44

essentially a specific chat bot with a

play03:46

certain functionality or a certain

play03:48

ability that you any of these chatbots

play03:50

you can use personally on your local

play03:52

machine and you can interact with the

play03:54

chatbot as you have built it and you can

play03:56

interact with it in real time as you're

play03:58

building it and then also you can use

play04:00

any of these chatbots to deploy them and

play04:03

to have them embedded on your own web

play04:05

page or inside your own web app and

play04:06

again I'll show you how to do that later

play04:08

on in the video where I'd normally start

play04:09

is come into marketplaces because it's

play04:11

got a huge amount of template in here

play04:13

and I show the sample of the various use

play04:15

cases that you can use this tool and to

play04:18

help you build really complex chatbot

play04:20

models and flows today we're just going

play04:22

to start with this simple conversation

play04:24

chain so this lets us preview the

play04:27

template in this particular template

play04:29

there's just three components so each

play04:31

card here represents essentially a

play04:33

module or a component this chain

play04:36

component is really what brings it all

play04:40

together and the chain is basically you

play04:43

can have various different types of

play04:44

chains this one is a conversational

play04:45

chain and it's basically allowing us to

play04:47

attach a language model or an open AI

play04:50

language model in this in this context

play04:52

but you can use other language models

play04:54

and we'll show you what you have on

play04:55

offer inside of flowwise when we get

play04:57

into it and it allows you to attach a

play05:00

memory in this case it's just using the

play05:01

buffer memory module and the buffer

play05:03

memory is basically whereby it just

play05:05

stores the chat history so that means

play05:08

usually it would save sort of the last

play05:10

five messages in the conversation and

play05:12

send that into the language model every

play05:14

single time that a user puts in a

play05:16

message so that it has the context of

play05:18

the conversation and it can respond as

play05:20

if it is having a conversation with you

play05:22

and then this one all also allows you to

play05:25

attach in a document and so we'll use

play05:27

that today in our use case we're going

play05:29

to use we're going to use this to build

play05:31

essentially a website fac type Chopper

play05:35

so that you can install it on your

play05:36

website and you can go to your website

play05:38

instead of reading your entire website

play05:39

they can just ask questions directly to

play05:41

your chatbot and it's a pretty good

play05:42

starter use case we'll then in future

play05:45

videos show more complex builds inside

play05:48

of flowwise and would love to hear if

play05:50

you've got any particular use cases or

play05:52

any particular things that you're trying

play05:54

to build a chatbot around one thing that

play05:56

I'd love to show next is how to actually

play05:58

chat with your airtable base for example

play06:01

and how to use an airtable component in

play06:04

here to basically feed data from

play06:06

airtable into your large language model

play06:08

as and when needed so it pulls only the

play06:10

relevant bits based on the user's prompt

play06:13

and other use case will be building up a

play06:14

large data store a large knowledge base

play06:17

around a particular topic and it could

play06:20

be anything from sort of help to

play06:23

legislation into anything where there's

play06:25

just Reams and reams of information that

play06:28

you don't necessarily want to feed the

play06:30

entirety of it in a single document like

play06:33

in this use case where you want to have

play06:34

a system so that you can query that data

play06:38

use open AI features to basically find

play06:41

the relevant bits of information inside

play06:43

of your knowledge base and then feed

play06:45

that into your into your language model

play06:47

at the point of the prompt being asked

play06:48

anyway going on a tangent next step is

play06:51

to click this use template button okay

play06:53

so that now creates a working version of

play06:55

the template into the workspace here

play06:58

that we can now configure for the

play07:00

purposes of building our chatbot and

play07:03

then so what we'll do first is we will

play07:06

bring in the document module because

play07:09

it's the only one that's not yet

play07:10

connected and it'll give us an

play07:11

opportunity to show you just the menu

play07:13

over here and the different options that

play07:14

you have we'll then configure the open

play07:16

AI API key and I'll show you where to

play07:18

get that and we'll then show you how to

play07:21

troubleshoot and to actually test the

play07:24

chatbot in the workspace environment

play07:26

here and then after that we'll move on

play07:29

to the deployment and actually getting

play07:31

it into a live web page and getting it

play07:34

functioning so if we come over here

play07:35

we're going to look for a document

play07:37

loader component when we click this plus

play07:39

it shows you all of the different types

play07:42

of categories of components that you can

play07:44

have so you can see that agents those

play07:46

chains there's chat models there's

play07:48

document loaders and that's where we're

play07:49

going to need to go and you know and

play07:52

these are all of the different

play07:53

components that can be used in a chatbot

play07:55

build and as you can imagine they can

play07:58

get relatively complex over time in this

play08:00

one we're just going to have four

play08:01

modules so if we come down to document

play08:03

loaders and I'm gonna try and find just

play08:06

the text file loader just as sort of a

play08:08

very basic working example here where

play08:11

every time you see one of these cards

play08:12

it's gonna have something down in the

play08:14

bottom right hand corner and if it's

play08:17

blue it means that it's available to

play08:19

attach to something else and so you'll

play08:21

see here if we just zoom in there

play08:24

and this one is looking to be attached

play08:26

to a document node up here so we're

play08:29

going to actually just click and drag

play08:30

that up and connect it to our chain so

play08:33

at the moment now our chain has our

play08:34

language model the memory and then the

play08:37

document down here and what we're going

play08:38

to do is we're going to go to my home

play08:40

page here and we're actually just going

play08:41

to copy all of this and put it into a

play08:43

text file so I've opened up notepad here

play08:46

and I'm just going to paste it in there

play08:48

it doesn't really matter about

play08:50

formatting at all and I'm just going to

play08:52

save this as a txt file so I've saved

play08:54

the file as no code homepage.txt and I

play08:57

can now close out of it and I've got to

play08:59

come back into the flowwise workspace

play09:02

here and if I click upload file I found

play09:05

the file on my desktop and I clicked it

play09:07

and it's now uploaded here and the only

play09:09

thing that now won't let this work is

play09:11

that I don't yet have the open AI API

play09:13

key so I'm going to come over to open AI

play09:15

you're going to need to log in here I'm

play09:17

going to go into the API selection

play09:19

and then if you come over here to the

play09:21

top right and find your profile it's

play09:24

going to have view API Keys here and I'm

play09:25

going to come in here and I'm going to

play09:27

create a new secret key and I'll just

play09:29

call this the flowwise five create

play09:33

secret key I'm going to copy that and

play09:35

I'm going to come back into flowwise

play09:37

here and I'm going to drop that in there

play09:39

I'm not going to change any of the

play09:41

settings here I'm definitely going to

play09:42

keep it on 3.5 turbo because it's far

play09:45

far cheaper than the gbt4 and when

play09:47

you're just playing around and testing

play09:49

with things you definitely don't want to

play09:50

be using gbt4 because it will start to

play09:53

to rack up costs whereas gbt 3.5 turbo

play09:55

you can feed a huge amount of prompting

play09:58

into it and only incur sort of sense or

play10:00

you know not not too much of a spend so

play10:03

you can you can play at it and then be

play10:05

be sure that you won't be breaking the

play10:07

bank and so now that we've done all of

play10:09

that your Chapel won't work yet over

play10:11

here until you've actually clicked save

play10:12

so I'm going to click save I'm actually

play10:14

asking me for the name of the chat flow

play10:16

and I'm just going to call it simple

play10:19

a conversation with text Doc and just

play10:24

same as that

play10:26

and it's now saved so now you can test

play10:28

as you're building your chat bot okay so

play10:31

we're gonna ask it a question that I

play10:33

suppose proves that it's using the

play10:36

information that we just drew from the

play10:37

web page so I'm gonna ask it something

play10:40

that a user to the web page might ask

play10:42

like what services do you offer

play10:46

and see what it comes up with training

play10:49

consultancy one-to-one online community

play10:52

so that looks pretty spot on if we go to

play10:54

the website we have this section here we

play10:57

offer training wonderful consultancy and

play10:59

we're running online community so yeah

play11:01

that seems to be doing a really good job

play11:03

there and um you know this is a really

play11:05

effective and simple way to build a

play11:07

customer service type chatbot for your

play11:09

website

play11:11

so we'll move on to the deployment now

play11:13

of this chatbot of out of our sort of

play11:16

local environment and onto a web hosted

play11:19

platform and then from there we're going

play11:21

to show you how to take anything that

play11:23

you've built from the local environment

play11:25

and how to put it into your now web

play11:28

hosted environment so that you're able

play11:29

to utilize whatever scenarios or models

play11:32

that you build locally on the internet

play11:34

essentially or anywhere that you want to

play11:36

use it because we can't use it directly

play11:38

from our local machine because there's

play11:40

no server there's no API access to this

play11:43

local instance Overton that's why we

play11:44

need to deploy and use a web instance so

play11:47

to deploy the app you're going to need

play11:48

to come and set up a GitHub account

play11:50

GitHub is a repository essentially

play11:54

whereby coders come in here and they

play11:56

store all of their code and they allow

play11:58

other coders and developers to share the

play12:01

code we won't need to know anything more

play12:04

about GitHub other than how to set up

play12:06

and sign up an account on it and then

play12:08

how to take the application that we want

play12:11

to use in the next step so if you come

play12:13

here click sign up and you're logged in

play12:15

you can then just type and what we're

play12:17

looking for is flowwise and that should

play12:20

come up top here so this one here click

play12:22

on flowwise and then what you're going

play12:24

to want to do is just click this button

play12:26

here called fork and what that's going

play12:28

to do is it's actually just going to

play12:29

make a complete copy of flowwise onto

play12:32

your

play12:34

in onto your GitHub so that you can now

play12:36

use the flowey software wherever it is

play12:38

that you would like to use it so if we

play12:40

just go create Fork

play12:44

and it's now running down in the

play12:46

background well that's running I'll show

play12:48

you the next tool that we're going to

play12:50

need to use to actually get the app

play12:52

deployed and so that we can actually use

play12:54

it online as this app called render.com

play12:57

this app again we will sign up and start

play13:00

using on the free plan so if we go get

play13:03

started I'm gonna sign in with my Google

play13:06

account and I'm going to hit complete

play13:08

sign up so when you log into your render

play13:10

account for the first time what we're

play13:11

going to want to do is create a web

play13:12

service so if we click new web service

play13:14

and I'm going to connect the GitHub that

play13:16

we just set up so connect GitHub I'm

play13:19

already logged into my GitHub account

play13:20

and so I'm just gonna go authorize

play13:22

render you are being redirected I've

play13:25

connected my thing and it's going to

play13:26

save which repositories I'm going to say

play13:28

select repositories and I'm going to

play13:29

find flowwise and click that I'm then

play13:32

going to click install

play13:33

brings it back to the screen and you

play13:35

just go new web servers again we're now

play13:37

connected to our flowwise repository so

play13:40

click connect here

play13:41

and you need to just give it a name and

play13:43

a region so I'm just going to call it no

play13:45

code IE no code Ireland

play13:50

chatbot

play13:51

region I'm just going to choose noted

play13:54

either overly close to me EU Central

play13:56

probably is the closest and I got that

play13:59

if you're in the US or if you're in Asia

play14:01

probably choose one of the other options

play14:03

that'd probably be quicker for you to

play14:04

come down here now to your runtime and

play14:06

you will need to change this to node and

play14:09

then if we just change it to yarn

play14:12

install here leave yarn build as and

play14:16

then down here yarn start and that

play14:19

should all be fine exactly as it is

play14:21

there and I'm gonna actually sign up on

play14:23

the starter plan here at seven dollars a

play14:25

month and the reason I'm going for a

play14:27

paid plan is for persistence so

play14:30

persistence is the concept whereby you

play14:33

want the data that you actually create

play14:34

inside of your flowwise application to

play14:38

persist meaning that it will live on

play14:40

every single time that you come back to

play14:42

that app to use it again it will have

play14:44

everything that you have created

play14:46

previously saved in there and it won't

play14:48

be deleted every time that you return to

play14:50

the app essentially if you go for the

play14:52

free plan currently render doesn't allow

play14:55

the persistence feature under the free

play14:57

plan so that's why I'm going with the

play14:58

seven dollars per month if you do want

play15:00

to just use flowwise for just building

play15:03

things purely without actually

play15:04

publishing it or deploying it online you

play15:06

can always install it locally on your

play15:08

machine and use it as much as you want

play15:10

and it will process for as long as you

play15:11

have that computer and then when you are

play15:13

ready to deploy something you can then

play15:15

come to a service like render and deploy

play15:17

it to the cloud and start paying seven

play15:18

dollars a month or you could find a

play15:20

different service for example replit

play15:22

Amazon web services there's lots of

play15:24

other hosting providers and you might

play15:26

have one that you prefer already or you

play15:28

might not have heard of any of these

play15:29

types of tools before and in which case

play15:31

render is a great option in terms of

play15:33

Simplicity and in terms of it working

play15:35

well with flowwise so after a few

play15:37

minutes your instance will show us live

play15:40

and that's when you know everything has

play15:41

worked and that you're up and running

play15:42

and now to access your flowwise instance

play15:45

in the cloud all you need to do is Click

play15:47

your url here and it should open your

play15:50

flowwise in interface you can see this

play15:53

is a brand new version of flowwise AI so

play15:56

anything that we've built already in the

play15:58

desktop version is not yet presented

play15:59

here however it's very easy to import

play16:03

chat flows from your desktop version

play16:05

into the cloud version and when you load

play16:08

it into Cloud version you can now use it

play16:10

for deployment online in any web project

play16:12

or web app that you would like to use it

play16:14

in before we do that what I think we

play16:16

should do is talk about the persistence

play16:18

point that I spoke about earlier which

play16:20

is whereby any chat flow that you have

play16:22

inside of your cloudflowwise AI instance

play16:25

you don't want that chat flow to be lost

play16:28

every time that you go outside of render

play16:31

and you log out or render and then you

play16:32

come back into render and log back in

play16:34

and you'd start backup flowwise or you

play16:36

click on this URL and you're back into

play16:38

flowwise there's a risk that your chat

play16:40

flow the memory that stores the chat

play16:43

flows might actually be lost so the

play16:44

actual chat flows that you've built may

play16:46

be lost and thus this whole important

play16:48

concept of persistence so we should go

play16:51

and set that up now with that now that

play16:53

we're on a paid plan and if you come

play16:54

into disks this is where you can do it

play16:56

and you simply click add disk we'll just

play16:59

leave it as my disk and then the path

play17:01

here you're going to want to use this

play17:03

specific path leave the size at 10

play17:06

gigabits and click save we now need to

play17:08

go into the environment section here and

play17:10

we need to add three new environment

play17:11

variables these are the three

play17:13

environment variables that we need

play17:14

database path API keypath and log path

play17:18

and the values for each of them are opt

play17:20

render dot flowwise same for this one

play17:24

for API keypath and then the last one

play17:26

did the same but we add on logs at the

play17:28

end once we've done that we'll hit save

play17:29

changes the other thing that's really

play17:31

important to update if you're going to

play17:33

use flowwise AI in the cloud rather than

play17:35

locally on your machine is that anybody

play17:37

that now has this URL can essentially

play17:40

access your instance or your Cloud

play17:43

instance of flow wise and so if you've

play17:45

been starting to build out chat flows in

play17:47

here you know when you have API Keys

play17:50

possibly in those chat flows anybody

play17:52

that comes along to this URL address

play17:54

will be able to get into your workings

play17:56

and see what you're doing they'll be

play17:58

able to basically act as if they are you

play18:00

at this website so what we should do

play18:02

there is go back into render and we'll

play18:04

actually create a username and a

play18:06

password so that anybody that lands on

play18:08

this web URL will need to know the

play18:10

password to be able to log in to start

play18:12

actually working on your check flows or

play18:14

looking at your chat flows so we come

play18:16

back over to render and we come down and

play18:18

go into environment so these are the two

play18:21

additional environment variables that

play18:23

we'll need the first one being flowwise

play18:24

underscore password and the cycle being

play18:26

flowwise underscore username and you

play18:28

just fill in whatever you want so I've

play18:30

made password password and username

play18:33

Jamie and you use whatever details you

play18:34

would like and that's what you're going

play18:36

to be asked to import every time you go

play18:38

to your Cloud instance of flowwise

play18:40

you're going to be asked for whatever

play18:41

username and password that you've input

play18:43

here and only you will know that so only

play18:45

you can work in your flowwise account

play18:46

and hit save changes the last step is to

play18:49

go to manual deploy click shared build

play18:52

cash and deploy it is now redeploying so

play18:55

you'll have to wait just another few

play18:56

minutes while it redeploys and we'll

play18:58

come back in just a sec so the instance

play18:59

is updated now and I've clicked back

play19:01

into the link and it asked me for a

play19:02

username and passwords I've entered my

play19:04

details and I hit login and I'm now back

play19:07

into my flowwise AI dashboard in the

play19:09

cloud and so now all we need to do is

play19:13

take the chat flow that we built in our

play19:15

local environment and upload it into our

play19:18

Cloud environment and the way to do that

play19:20

is if you come back to the local

play19:22

environment here on localhost we'll find

play19:25

our chat which is here simple

play19:26

conversation with tech stock and what

play19:28

we're going to do is go to settings here

play19:31

and go export chat flow okay so that's

play19:34

exported the chat flow now so we're

play19:36

going to come back into the cloud

play19:37

version of it and rather than clicking

play19:39

on settings we're actually going to

play19:40

click on add new because this is how you

play19:42

actually add a an individual chat flow

play19:45

and if we go over the settings now up

play19:47

here and go low chat flow we found our

play19:50

file and we double clicked it and it is

play19:52

now uploaded as an title chat flow so

play19:55

we'll just save this as

play19:57

simple

play20:00

chat with text

play20:03

Dock and click save

play20:05

okay and now that is saved and if we

play20:10

click save here and I'll just double

play20:12

check that everything is working okay

play20:14

class services do you offer

play20:19

okay so it didn't work and it's

play20:22

obviously because I need to actually

play20:23

input the open AI API key again and I

play20:26

also need to upload the document again

play20:28

so bear with me one second

play20:30

okay I've done both of those things now

play20:32

so I'm going to come in here and I'm

play20:33

just going to clear the the chat clear

play20:35

and I'm gonna come back in and I'm gonna

play20:38

ask it the same question what services

play20:40

do you offer and let's see here we go

play20:44

so it seems to be working Consulting

play20:46

service looking to learn our goals teach

play20:48

business owners how to use no code build

play20:49

okay and that all looks really good and

play20:51

it looks like it's coming directly from

play20:53

the web page so that's brilliant so if

play20:55

we just hit save and

play20:58

um that's essentially it so now if you

play21:00

want to actually use it inside of a web

play21:02

page what you do is you click this

play21:03

little blue button here

play21:05

in your Cloud hosted version and I

play21:07

usually just use this embed pop-up HTML

play21:10

version and so you literally just copy

play21:12

this

play21:13

snippet here and I'm my website is built

play21:16

inside of software so I'm going to go

play21:18

into the software studio and I'm going

play21:20

to add a custom code block the custom

play21:23

code block is under the static category

play21:25

here here's the custom code block I'm

play21:27

going to add it in it's going to appear

play21:29

up here and I'll paste in the exact

play21:32

snippet that came directly from the flow

play21:35

it's Cloud version from this blue

play21:37

section here and then if I come back and

play21:40

if I just hit publish

play21:43

and in software this is probably

play21:45

software specific I'm just going to get

play21:47

rid of the padding on that code block

play21:49

actually so that you don't see a big

play21:51

white space at the top of the screen and

play21:54

if we hit publish and if we come back

play21:56

here and there's currently no chat bot

play21:58

on the side so if we refresh it

play22:01

and let's just see it's now showing on

play22:03

the site and if we just go over what

play22:06

services do you offer

play22:10

so here it goes for training multiple

play22:12

consultancy in online community looks

play22:15

absolutely perfect so look that brings

play22:16

to see into today's tutorial if you

play22:18

enjoyed the video I would really

play22:20

appreciate if you'd click like and the

play22:22

video consider subscribing to the

play22:23

channel also if you'd like to see any

play22:26

future content in this area or any

play22:28

future tutorials around chatbots or no

play22:30

code or anything like that let me know

play22:33

and please leave a comment below thank

play22:34

you very much for watching and talk to

play22:36

you soon

Rate This
β˜…
β˜…
β˜…
β˜…
β˜…

5.0 / 5 (0 votes)

Related Tags
AI ChatbotsNo-CodeDrag-and-DropFlowwise AIChatbot BuilderWeb DevelopmentUser ExperienceCustomer ServiceKnowledge BaseCloud Deployment