day was dominated by its new Agentic workflow product, Agent Builder. It permits you to craft agentic processes by way of a simple-to-use graphical consumer interface. It fairly rightly garnered many of the consideration, however the different facet of their workflow course of — deployment — acquired much less consideration.
All we had have been fleeting glances of screens and code, and there was no actual clarification of how one can combine an agent constructed with Agent Builder into your personal or your corporation’s web site or software.
That is the place OpenAI’s different agent builder instrument, Chatkit, is meant to come back in. It’s simply as essential a product as their Agent builder — arguably extra so.
Why? That’s as a result of ChatKit is used to deploy any agentic course of you create utilizing the Agent builder into real-world net apps and pages.
No worries, you would possibly assume, I’ll head over and browse OpenAI’s documentation on ChatKit. Properly, good luck to you. Aside from being poorly written, it requires a substantial quantity of programming data and an understanding of GitHub and numerous different technical processes.
Within the the rest of this text, I’ll define the precise course of, step-by-step, for deploying an agent constructed utilizing OpenAI’s Agent Builder onto a publicly accessible web site.
What we’ll do
This text can be your “lacking guide” for Agent Builder deployment. We’ll first create two easy web sites, one utilizing Lovable and one utilizing HuggingFace (HF) areas and deploy them to the World Broad Net.
After that, we’ll develop a chatbot agent utilizing OpenAI’s Agent Builder. We are going to then deploy it to our new Lovable and HF web sites utilizing the Agent Builder ChatKit.
What you’ll want
There are a number of conditions, however most of them are free to arrange.
- An OpenAI account and API key (Paid plan)
- A Vercel account (Free)
- A HuggingFace account (Free)
- A check web site (FREE and/or paid)
ChatKit deployment
There are a number of steps we have to take, however none are difficult. Take your time and observe the steps methodically, and also you’ll be effective.
Step 1 — Create our check web sites
If you have already got a web site and you may edit/change the code behind it, be at liberty to make use of this.
In any other case, you should utilize a instrument like lovable.dev, which cannot solely create a web site for you however may also deploy it to the online utilizing certainly one of its personal domains or a customized area that you just present.
Be aware that the lovable hyperlink above is an affiliate hyperlink, which suggests when you signal as much as a paid plan utilizing it, I get a small fee.
Right here was my immediate to Lovable,
I desire a easy "Whats up world" sort  javascript, css, html react web pageLovable took round 15 seconds to supply a web site, and I deployed it utilizing certainly one of Lovable’s personal instance domains. Here’s what it produced. I’ll put a hyperlink to the web site on the finish of the article.

For these on a good funds, a free possibility for making a webpage is to make use of HuggingFace (HF) Areas. Right here’s how to do this.
- Create an HF account and log in.
- Click on the Areas hyperlink on the prime of the house web page, then click on the New Area button, additionally in the direction of the highest proper of the web page.
- Fill within the area’s identify, select a licence sort, and choose ‘Static’ for the SDK, ‘Clean’ for the Template, ‘CPU Fundamental’ for the {hardware}, and ‘Public’ for the scope.
- Click on on the Create Area button on the backside of the display whenever you’re prepared. You need to see a display like this seem,

The URL hyperlink to your HF web site can be one thing like:
https://huggingface.co/areas/{Your_HF_username}/{your_HF_space_name}At this level, you must have not less than one publicly accessible web site you could modify to combine an Agent Builder agent with. However first, we’d like an agent.
Step 2 — Create an OpenAI Agent Builder Chatbot agent
I gained’t spend an excessive amount of on this step, as there are many tutorials and demos accessible on-line on how one can do it. Moreover, the OpenAI staff coated this half very properly at their developer day.
Nevertheless, my agent builder is so simple as it will get. Will probably be an easy chatbot containing simply two nodes: a begin node and an agent node. In truth, that’s the default setup you get when you click on the Create button on the agent builder house web page. The one different change I made to the agent node was to pick GPT5-nano as my agent LLM, and I up to date the agent directions to this:
You’re a useful assistant. Inform the consumer an attention-grabbing reality concerning the proposed topic, then inform a “dad joke” concerning the topic
Right here is an instance of the chat.
Inform me an attention-grabbing reality about canines 
Attention-grabbing reality: Canines can "odor in stereo." They draw totally different scent 
info into every nostril, serving to them find the course of an 
odor in 3D area. With as much as ~300 million olfactory receptors 
(people have ~6 million), some canines can detect substances at 
parts-per-trillion-roughly like discovering a teaspoon of sugar in two 
Olympic-sized swimming pools. 
Joke: Why did the canine sit within the shade? As a result of he did not need to 
be a scorching canine!To create your personal agent, head over to https://platform.openai.com/agent-builder. Relying on what LLM mannequin you select to make use of to your agent, you might also have to go an identification examine earlier than you may run any brokers, so bear that in thoughts.
NB: Pay attention to the venture identify you used when creating your agent. It’s positioned close to the highest left of the Agent Builder house display. We’ll want this when creating our OpenAI API key, because the venture underneath which the API secret is made should match the venture during which your agent is constructed. I used to be engaged on all my duties underneath the Default venture.
Click on the Preview button on the prime proper of the web page to make sure that your agent is working as anticipated. While you’re glad, click on the Publish button, positioned close to the highest proper of the web page. Fill within the identify of your agent and click on the Publish button once more. While you do that, a pop-up will seem like this:

You’ll want the workflow ID later, so please pay attention to it now. Additionally, discover the Clone pattern app hyperlink close to the underside of the pop-up. We’ll use that within the subsequent step.
Step 3 — Fork OpenAI’s pattern ChatKit app to your personal GitHub repo
To assist with deploying brokers utilizing ChatKit, OpenAI offers some instance starter package code in a GitHub repository. We have to fork that app (i.e copy it) to our personal GitHub repo and deploy it to the online.
For the deployment stage, we’ll use Vercel. Vercel is a cloud platform for deploying and internet hosting net purposes.
To fork the OpenAI app, use the Clone Pattern app hyperlink within the pop-up from Step 2. This may take you to the suitable OpenAI GitHub web page. Now, click on the Fork button on the repo. It’s simply above and to the fitting of the inexperienced Code button.

You’ll be prompted to enter a reputation to your new repository, when you’d like, or you may depart it because the default.
Step 4 — Deploy your fork of OpenAI’s pattern ChatKit app to Vercel
For this step, you’ll want a Vercel account when you don’t have already got one. It’s free to arrange and use for the restricted instance we’ll be exhibiting right here. Head over to https://vercel.com and create your account now.
When you’re logged in, go to the dashboard and click on the Add New->Venture button to begin a brand new venture. Yow will discover the hyperlink to the dashboard beneath your consumer profile icon on the excessive prime left of the web page.

The primary time round, you’ll have to authorise Vercel entry rights to your GitHub account, so click on the Proceed with GitHub button. You’ll then be requested to authorise Vercel. Select to permit Vercel entry to all of your repos or simply a person repo. As soon as that’s accomplished, you’ll be capable to import your GitHub repository into Vercel. After the import is full, the ultimate stage is deployment. Nevertheless, earlier than you proceed, you want to add a few setting variables. The hyperlink to do that is simply above the deploy button.

The setting variables you want to add are:
OPENAI_API_KEY — This have to be an API key created inside the similar venture as your Agent Builder. To get your API key, head over to
https://platform.openai.com/api-keys
Create or reuse an API key, making certain the Venture Title matches the one from the Agent Builder.
NEXT_PUBLIC_CHATKIT_WORKFLOW_ID — That is the ID of the workflow you created in Agent Builder, which begins with wf_…
After that, you may click on the Deploy button on Vercel. This may take a minute or two, however as soon as it’s completed, we are able to check our chatbot. As soon as the deployment is full, return to your Vercel dashboard. Make sure you’re on the proper venture, and you must see a button labelled Go to, which can take you to your ChatBot. Earlier than we click on on it, we now have another factor to do. We should let OpenAI know the area of our chatbot app on Vercel for safety causes.
Copy the Vercel area URL to your venture and return to your OpenAI agent builder venture.
Subsequent, click on the Code button close to the highest proper of the display to show the Chatkit particulars pop-up. Click on the “Add Area” button. On the mini popup display that seems, enter the Vercel area URL into the sector, after which click on the “Generate Key” button.

Now, again on Vercel, click on the “Go to” button to check your chat app. That is what mine seemed like.

Step 5—Modify our unique Lovable and HuggingFace web sites to include the brand new chatbot.
That is our ultimate step, which includes producing embed code that we are able to insert in our personal net pages. We obtain this by modifying the index.html file of our net software. I bought ChatGPT to create the code we have to inject.
You may get the area URL of your chatbot from the Vercel dashboard.
Right here is my ChatGPT dialog. Change my area URL with your personal.
That is the area URL of my chatbot: openai-chatkit-starter-app-blue.vercel.app 
I would like some deployment code to go in my web site's index.html web page within the 
HEAD part that can allow me to run the chatbot on my web siteAnd GPT’s response was this.
Excellent 👌 - since your chatbot is hosted at 
https://openai-chatkit-starter-app-blue.vercel.app
the cleanest technique to embed it in your web site is to make use of an I took the above code and manually edited the index.html file in my repository that was created by Lovable when it generated my unique net web page. I inserted the above embed code into the  part of my index.html file and saved the file contents. After that, I redeployed the repo to my beautiful area, and you may see the outcomes under. As anticipated, a little bit speech bubble icon was created within the backside right-hand nook of the web page, and once I clicked on this, the Chatbot dialogue display appeared, and I used to be in a position to work together with it.
Lovable ( https://little-react-wave.lovable.app/ )

I did an identical operation on my net web page on HuggingFace. You may edit the index.html file in your HF web site by clicking the Recordsdata hyperlink in your area, then clicking the index.html file hyperlink that’s displayed.

I added the identical embed code to my HF index.html file as I did with lovable, and after committing the modifications, my new net web page appeared as follows, with the identical Chatbot icon and functionality.
Hugging Face ( https://huggingface.co/areas/taupirho/chatkit )

Not too shabby!
 
			 
		     
                                
















