WordPress plugin for OpenAI ChatKit + Agent Builder integration

Hey everyone,

I wanted to share a small project I’ve been working on a WordPress plugin that integrates the new OpenAI ChatKit and Agent Builder Workflow directly into a website.

It started as an experiment, mainly because I wanted to use ChatKit on WordPress without Node.js or SDKs, and I ended up running into (and solving) a few tricky issues, like file uploads, domain verification, and persistent sessions.

Now it seems to be working pretty well, so I thought it could be useful to others facing similar challenges.

I ended up packaging it as a small open-source plugin called “OpenAI ChatKit for WordPress” it’s on GitHub if anyone wants to check it out or test it.

Highlights:

  • Native WordPress integration (pure PHP, no external backend)

  • Full ChatKit widget customization (theme, prompts, layout)

  • File upload support (PDF, images, etc.)

  • Multi-language + shortcode or global widget modes

Would really appreciate any feedback, especially from others testing Agent Builder workflows or experimenting with ChatKit integrations in production.

Thanks!

1 Like

Congrats on the initiative — the plugin looks really promising! I’m currently testing it for some internal projects.

However, I ran into one issue: the link mentioned for domain registration doesn’t seem to exist anymore:

Register your domain at OpenAI ChatKit Domain Allowlist
https://platform.openai.com/settings/organization/chatkit

It looks like OpenAI may have moved or removed that page.
Still, great job on putting this together — once I get it running smoothly, I plan to feature it in a YouTube video to help share it with more people! :rocket:

[UPDATE]

I managed to integrate the plugin successfully — everything loads fine, and the widget appears correctly on my WordPress sites.

I tested it on two different websites, and in both cases, I noticed the same issue: when I hover over the chat, the window disappears (only the outline remains), so I can’t actually interact or send messages.

Not sure if it’s a CSS conflict or z-index issue on the WordPress side, but thought I’d share in case others run into the same thing.

3 Likes

Hello, i ran into the same problem, when hovering over the chat the window disappears, i don’t know if you have found a solution to this problem or not.

1 Like

The issue of hovering makes the widget disappear is because you need to add the domain in allowed domains in your openai settings, once added i don’t have the problem anymore.

1 Like

Hey, @Yassine_ZAAZAA, thanks for coming back to let us know.

You’re the type of person we want around here! :wink:

Glad you got it going. Happy coding.

2 Likes

Thanks, @PaulBellow ! Happy to help out.
I hope it saves others some time too :grinning_face_with_smiling_eyes:

1 Like

First of all thanks for your work
I ve added my domain to the domain allowlist but I still ve a message error when I make the api test.
API Error (status 404): { “error”: { “message”: “Workflow with id ‘wf_xxxxxxxxxxxxxxxxxxxxx’ not found.”, “type”: “invalid_request_error”, “param”: null, “code”: null } }

I check with another workflow same issue bot are live

Thanks everyone for the feedback and for testing the plugin :folded_hands:

It’s great to see it starting to be used in real projects.

I’m running some additional tests to check the issues mentioned especially around domains and disappearing widgets. From what I’ve seen so far, adding your site domain to the OpenAI whitelist really helps ensure proper functionality.

If you have any logs, configs, or extra details to share, please drop them here they’ll help me troubleshoot and improve the next update faster.

Appreciate all your help and testing!

Thanks for building this!

I am looking for it on Github, but i am not able to find it, is it still there?