/bubble-tutorials

How to integrate Salesforce with Bubble

Discover how to integrate Salesforce with Bubble to sync data, automate workflows, and streamline processes with clear, simple steps.

Matt Graham, CEO of Rapid Developers

Book a call with an Expert

Starting a new venture? Need to upgrade your web or mobile app? RapidDev builds Bubble apps with your growth in mind.

Book a Free Consultation

How to integrate Salesforce with Bubble

The simplest valid way to integrate Salesforce with Bubble is to use Bubble’s API Connector and connect to Salesforce’s REST API using OAuth2. After OAuth is set up, you can call Salesforce endpoints (like creating Leads, pulling Accounts, updating Contacts) directly from Bubble workflows, both backend and frontend.

 

What You Need From Salesforce

 

Inside Salesforce you create a Connected App. This gives you:

  • A Consumer Key (acts like a client ID)
  • A Consumer Secret
  • A Callback URL (you set it to Bubble’s OAuth redirect URL)

In the Connected App, enable OAuth settings and allow scopes like Full or Access and manage your data (api).

 

Set Up the Bubble API Connector

 

In Bubble, install the API Connector plugin. Add a new API and choose OAuth2 User-Agent Flow. Use these fields:

  • Auth URL: https://login.salesforce.com/services/oauth2/authorize
  • Token URL: https://login.salesforce.com/services/oauth2/token
  • Client ID = Salesforce Consumer Key
  • Client Secret = Salesforce Consumer Secret

Set the Redirect URL to the one Bubble shows. Paste that same URL back into Salesforce Connected App.

 

Make an Actual Salesforce API Call

 

After authentication works, you add calls inside the same API. Example for creating a Lead:

{
  "LastName": "Smith",
  "Company": "Bubble Co"
}

Endpoint:

POST https://yourInstance.salesforce.com/services/data/v57.0/sobjects/Lead

You set the header:

Authorization: Bearer <access_token>

 

Trigger From Bubble Workflows

 

Now you can run this API call from any Bubble workflow:

  • When user submits a form → Create Lead in Salesforce
  • Scheduled backend workflow → Sync data nightly

Remember that Salesforce base URL includes your instance (like na85.salesforce.com). Bubble retrieves it during OAuth; make sure your calls reference that domain.

Explore More Valuable No-Code Resources

How to integrate Bubble.io with Git?

Learn how to seamlessly integrate Bubble.io with Git through our comprehensive step-by-step guide. Perfect for beginners and professionals.

Explore

How to integrate Bubble.io with Reddit Ads?

Learn how to seamlessly integrate Bubble.io with Reddit Ads using our easy step-by-step guide. Boost your ad management today!

Explore

How to integrate Bubble.io with AWS S3?

Explore our step-by-step guide on integrating Bubble.io with AWS S3, making your app development process more efficient and secure.

Explore

How to integrate Bubble.io with Lucidchart?

Follow our step-by-step guide to seamlessly integrate Bubble.io with Lucidchart, enhancing your workflow & productivity.

Explore

How to integrate Bubble.io with Kentico?

Learn how to seamlessly integrate Bubble.io and Kentico with our comprehensive, easy to follow step-by-step guide.

Explore

How to integrate Bubble.io with Box?

Discover easy-to-follow steps for integrating Bubble.io with Box. Boost your workflow and secure your files seamlessly today.

Explore

Stuck in Bubble.io? We’re here to help!

Fix broken workflows | Optimize logic | Boost performance | Scale with confidence

4.9
Clutch rating 🌟
600+
Happy partners
17+
Countries served
190+
Team members

By clicking “Accept”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.

Cookie preferences