Walk-Through: Simplify API Call Set-Up With a cURL Command

Learn how to connect OpenAI’s chat completion model to Bubble’s API Connector with the click of a button.

Abhinav Narain
March 19, 2024 • A quick read
Walk-Through: Simplify API Call Set-Up With a cURL Command

Bubble’s API Connector plugin is an essential tool for setting up outgoing RESTful API connections with external apps. In other words, this means you can hook up your Bubble app to external data sources or trigger certain actions based on events.

But sometimes, manually setting up your API connections and calls can be clunky and time-consuming. Good news: Many services provide a call response in cURL format in their documentation that you can copy and paste as a shortcut. In this walk-through, we’ll show you what those look like so you can be on the lookout for it next time you use the API connector. This example demonstrates how to use a cURL command to connect your API Connector with OpenAI and begin building AI into your app.

Follow along with these step-by-step instructions:

  1. Install the API Connector plugin to your Bubble project.
  2. Head to OpenAI’s developer reference on chat completion. You’ll need an OpenAI account and an authorization token for this exercise.
  3. Look in the upper-right of the demo editor to copy the example call response in cURL.
  4. Switch back to your Bubble API Connector tab and click on Import another call from cURL.
  5. Paste your example call and click Import.
  6. Ta-da — you now have the framework for a customizable OpenAI API call!
Start building for free

Build for as long as you want on the Free plan. Only upgrade when you're ready to launch.

Join Bubble

LATEST STORIES

blog-thumbnail

Episode 08: Joey Zwillinger on Allbirds, Biologica, and What He'd Do Differently

Allbirds co-founder Joey Zwillinger on the decisions that built a $4B IPO, the ones that broke it, and what he's doing differently at Biologica.

Bubble
April 17, 2026 • 6 minute read
blog-thumbnail

Episode 7: How EqualReach Made Dignified Work a Business Model

Giselle Gonzales and Olena Voloshyna of EqualReach on building a marketplace where commercial success and social impact are the same thing.

Bubble
April 14, 2026 • 5 minute read
blog-thumbnail

April AMA Recap: AI Agent Expansion, Mobile Momentum, and Platform Updates

Emmanuel’s April AMA covered the AI Agent's rollout to existing Bubble apps, why visual workflows beat generated code, mobile plugin news, a major backend upgrade, and more.

Emmanuel Straschnov
April 09, 2026 • 7 minute read
blog-thumbnail

What Is User Acceptance Testing (UAT) and How to Do It Well

User acceptance testing (UAT) is a core testing method to get your product ready to launch and improve product adoption. Here’s what it is and how to do it effectively.

Bubble
April 08, 2026 • 12 minute read

What Can You Build on Bubble? 25 Examples to Inspire You

February 27, 2026 • 18 minute read

See How We Redesigned the Property Editor for Better Building

December 11, 2025 • 4 minute read

The Easiest Way to Build a Custom CRM (With AI, Updated for 2025)

October 10, 2025 • 17 minute read

The Future of Bubble’s Editor: Introducing the New Workflow Tab

October 11, 2024 • 3 minute read

Efficient App Building 101: Improving Your Workload Usage

July 01, 2024 • 3 minute read

Build the next big thing with Bubble

Start building for free