Bubble Docs
  • Introduction
  • New? Start Here
  • What is Bubble?
  • The Glossary
  • User manual
    • Getting started
      • What is Bubble?
      • Building your first app
        • Planning features
        • Database structure
        • Design and UX
        • eCommerce and payments
          • Shopping cart
          • Checkout page
          • One-time payments
          • Subscriptions
          • Marketplace
      • Creating and managing apps
      • The Bubble editor
        • Tabs and sections
          • Design tab
            • The element tree
            • The property editor
          • Workflow tab
          • Data tab
          • Styles tab
          • Plugins tab
          • Settings tab
            • Application settings
              • Custom headers/body
              • Visual settings
              • Social media sharing
              • Translating your app
              • Email settings
              • Collaboration
            • Custom domain and DNS
          • Logs tab
        • Tools
          • Key features
          • The search tool
          • The Issue Checker
          • The element tree
          • The element property editor
          • The debugger
          • Notes
        • Previewing your app
      • Transitioning to Bubble from...
        • JavaScript
        • HTML and CSS
        • SQL
    • Design
      • Elements
        • The element hierarchy
          • The element tree
        • The page
        • Containers
          • Groups
          • Repeating groups
          • Table elements
          • Popups
          • Floating groups
          • Group focus
        • Visual elements
        • Input forms
          • Text and numbers
          • Dates and time
          • File uploads
          • Selection controls
        • Reusable Elements
      • Styling
        • Color variables
        • Font variables
        • Styles
        • Custom Fonts
      • Responsive design
        • Building responsive pages
        • Legacy articles
          • The Basics (Legacy)
          • Building Responsive Pages (Legacy)
          • Migrating Legacy Pages
          • Tips When Designing (Legacy)
      • Templates
      • The Component Library
      • Importing from Figma
    • Data
      • The database
        • Data types and fields
        • Creating, saving and deleting data
        • Finding data
        • Displaying data
        • Protecting data with privacy rules
        • The database editor
        • Export/import data
          • Exporting data
          • Importing data (CSV)
        • Working with location data
        • Using Algolia
        • Database structure by app type
          • Marketplace Apps
          • Directory & Listings Apps
          • Social Network Apps
          • SaaS Apps
          • Project Management Apps
          • CRM Apps
          • Professional Services Apps
          • On-demand Apps
          • Documentation/ CMS Apps
          • Applicant Tracking System (ATS) Apps
          • Portfolio Apps
          • Gallery Apps
          • Online Store / Ecommerce Apps
          • Blog Apps
          • Messaging App
          • Dashboards
          • Building Block Apps
          • Bubble as a backend
      • Files
      • Images
      • Static data
        • App texts (translations)
        • Option sets
      • Temporary data
        • Custom states
        • URL parameters
      • User accounts
        • Authentication plugins
          • Facebook plugin
          • Fitbit plugin
          • Google plugin
          • Instagram plugin
          • LinkedIn plugin
          • Pinterest plugin
          • Slack plugin
          • Wistia plugin
          • YouTube plugin
        • Cookies set by Bubble
      • Time, dates and time zones
    • Logic
      • The frontend and backend
      • Workflows
        • Events
          • Frontend events
            • Recurring workflows
            • Custom events
          • Backend events
            • Database trigger events
        • Actions
        • API Workflows
      • Dynamic expressions
      • Conditions
      • Navigation
        • Single-page applications (SPA)
        • Multi-page applications
        • Page slugs
    • Workload
      • Understanding workload
        • Activity types
        • The workload calculation
        • Client-side and server-side processing
      • Tracking workload
        • Measuring
          • Using App Metrics
        • Monitoring
          • Workload notifications
          • Infinite recursion protection
      • Optimizing workload
        • Optimization framework
        • Optimization checklist
          • Page load
          • Searches
          • Workflows and actions
          • Backend workflows
        • Agency showcases
          • Minimum Studio
          • Neam
          • Support Dept
    • Security
      • Bubble's security features
      • Planning app security
      • Client-side and server-side
      • Bubble account security
      • App security
      • Page security
      • Database security
      • API security
        • API Connector security
        • Data API security
        • Workflow API security
      • Flusk
        • Overview
        • Flusk plan features
        • Getting started with Flusk
        • Flusk security tools
          • The Issues Explorer
          • Issue details
          • Tools and settings
            • Pages rating
            • Database rating
        • Flusk FAQ
      • Cookies
      • Security checklist
    • Publishing your app
      • Web app
      • Native mobile app
        • Global native mobile settings
        • iOS App Store
        • Google Play Store
        • Publishing FAQ
    • AI
      • Generate apps with AI
        • About AI app generation
      • AI page designer
      • Connect to AI agents
    • Maintenance
      • Collaborators
      • Version control
        • Best practices: Version control
        • Transitioning from the legacy version control
        • Terminology: Version control
        • Version Control (legacy)
      • Commenting
      • Database maintenance
        • Copying the database
        • Restoring database backups
        • Bulk operations
          • Bulk operation methods compared
        • Wiping change history
      • Performance
        • Hard limits
        • Capacity Usage (legacy)
        • Notes on queries
      • SEO
        • Introduction to SEO
        • SEO: App
        • SEO: Page
      • Testing and debugging
        • Introduction to testing and debugging
        • The debugger
        • The server logs
        • Supported browsers
      • API workflow scheduler
    • Integrations
      • API
        • Introduction to APIs
          • What is a RESTful API?
        • The Bubble API
          • Bubble API terminology
          • Authentication
            • How to authenticate
            • No authentication
            • As a User
            • As an admin
          • The Data API
            • Data API Privacy Rules
            • Data API endpoints
            • Data API requests
          • The Workflow API
            • Workflow API privacy rules
            • Workflow API endpoints
            • API workflows
              • Creating API workflows
              • Scheduling API workflows
              • Recursive API workflows
              • API Workflow Scheduler
              • Case: Stripe notifications
        • The API Connector
          • Authentication
          • API Connector security
          • API guides
            • OpenAI
              • Authentication
              • Calls
                • ChatGPT
                  • Chat
            • Google Translate
              • How to setup Google API keys
          • Streaming API
        • API security
        • Plugins that connect to APIs
        • API Glossary
      • Plugins
        • What Plugins Can Do
        • Installing and using Plugins
        • Authentication plugins
        • Special Plugins
      • SQL Database Connector
      • Bubble App Connector
      • WorkOS
        • WorkOS SSO
        • WorkOS API
    • Infrastructure
      • Sub-apps
      • Bubble release tiers
      • Hosting and scaling
        • How Bubble hosting works
        • Scaling with Bubble
        • CDN (Cloudflare)
        • Bubble app names
        • Domain and DNS
      • Compliance
        • GDPR
        • SOC 2 Type II
        • HIPAA
        • Other frameworks and standards
    • Bubble for Enterprise
      • Hosting and infrastructure
        • Dedicated instance
          • The Dedicated editor experience
          • Technical specs
          • Main cluster dependencies
          • Customizable options
          • Migration process
            • Pre-migration
            • During migration
            • Post-migration
      • Security and compliance
        • Single sign-on (SSO)
        • GDPR
        • SOC 2 Type II
        • HIPAA
        • Other frameworks
        • Bubble's security features
      • Admin and collaboration
      • Priority support
      • Billing and Payment Guideline for Dedicated Instances
  • Core Reference
    • Using the core reference
    • Bubble's Interface
      • Design tab
      • Design tab (Legacy)
      • Workflow tab
      • Data tab
      • Styles tab
      • Styles tab (Legacy)
      • Plugins tab
      • Settings tab
      • Logs tab
      • Template tab
      • Toolbar
      • Top and context menu options
      • Deployment and version control
        • Deployment & Version Control Dropdown (legacy)
      • Notes
    • Elements
      • General properties
      • General properties (Legacy)
      • Styling properties
      • Styling Properties (Legacy)
      • Responsive Properties
      • Responsive Properties (Legacy)
      • Conditional formatting
      • States
      • Page Element
        • Page Element (Legacy)
      • Visual Elements
      • Containers
      • Container Layout Types
      • Containers (Legacy)
      • Input Forms
      • Reusable Elements
      • Element Templates (legacy)
    • Workflows
    • Events
      • General events
      • Element events
      • Custom events
      • Recurring event
      • Database trigger event
    • Actions
      • Account
      • Navigation
      • Data (things)
      • Email
      • Element
      • Custom
    • Data
      • Data Sources
      • Operators and comparisons
      • Search
      • Privacy
    • Styles
    • API
      • The Bubble API
        • The Data API
          • Authentication
          • Data API endpoints
          • Data API requests
        • The Workflow API
      • The API Connector
        • Authentication
        • Adding calls
    • Bubble-made Plugins
      • AddtoAny Share Buttons
      • Airtable
      • API Connector
      • Blockspring
      • Box
      • Braintree
      • Bubble App Connector
      • Chart.js
      • Circle Music Player
      • Draggable Elements
      • Dropzone
      • Facebook
      • Fitbit
      • Full Calendar
      • Google
      • Google Analytics
      • Google Optimize
      • Google Places
      • Ionic Elements
      • iTunes
      • Slidebar Menu
      • LinkedIn
      • Localize Translation
      • Mixpanel
      • Mouse & Keyboard Interactions
      • Multiselect Dropdown
      • Progress Bar
      • Rich Text Editor
      • Rich Text Editor (Legacy)
      • Screenshotlayer
      • SelectPDF
      • Slack
      • Segment
      • Slick Slideshow
      • SQL Database Connector
      • Star Rating
      • Stripe
      • Tinder-like Element
      • Twitter
      • YouTube
      • Zapier
    • Application Settings
      • App plan
      • General
      • Domain / email
      • Languages
      • SEO / metatags
      • API
      • Collaboration
      • Sub-apps
      • Versions
  • Account & Marketplace
    • Account and billing
      • Pricing and plans
        • Plans and billing
        • Billing cycle
        • FAQ: Pricing and Workload
      • Account Management
      • Building Apps for Others
      • Selling on the Marketplace
      • Plans & Billing (legacy)
    • Official Bubble Certification
      • Hiring certified developers
    • Building Plugins
      • The Plugin Editor
      • General Settings
      • Updating to Plugin API v4
      • Adding API Connections
      • Building Elements
      • Building Actions
      • Loading Data
      • Publishing and versioning
      • Github Integration
    • Building Templates
    • Application and data ownership
    • Marketplace policies
    • Bug reports
  • Beta features
    • About the Beta features section
    • Native mobile apps 🔒
      • Introduction
        • What is a native mobile app?
        • Native mobile vs. web development
        • Differences in native and web elements
        • Native mobile app terminology
      • Building
        • Views and navigation
        • Native mobile actions
        • Components and gestures
        • Device resources
          • Location services
          • Camera/photo library
      • Previewing
      • Publishing
Powered by GitBook
On this page
  • Setting up the plugin
  • Installing the plugin
  • Preparing the second application
  • Setting up the connection
  • Using the plugin
  • Calling an action
  • Querying data

Was this helpful?

  1. User manual
  2. Integrations

Bubble App Connector

This section covers the Bubble App Connector plugin, used to connect two Bubble applications to each other

Last updated 1 year ago

Was this helpful?

This is the in-depth manual article series on Bubble’s App Connector plugin. If you want the shorter, technical reference, check out the Reference entry:

Reference:

Bubble can connect to most other apps by using the and/or the . Sometimes you may want to connect to another Bubble application, and we have made that option simple to set up using the plugin Bubble App Connector plugin.

The plugin does three things:

  • It lets you with the second Bubble application by using an API key or OAuth authentication.

  • It connects to the

  • It connects to the

While this could be done with the API Connector plugin, the Bubble App Connector simplifies the process and gives you a visual representation of the second app's data types and workflows.

Throughout this article, we will refer to the app that initiates the connection as the first app and the app that you want to connect to as the second app.

In the example above, we have connected to a second Bubble application using an API key.

  1. Public-workflow is an API Workflow set up in that application (Workflow API)

  2. Task is a data type set up in that application (Data API)

As you can see, we can get simple access to both data and API workflows using a dropdown.

Setting up the plugin

Installing the plugin

The Bubble App Connector is not a built-in feature but an optional plugin that needs to be installed through the plugin store. To install it, search for "App Connector" and install the plugin in the first app as illustrated below:

Click install to install it in your app.

When integrating two apps using the App Connector plugin, it's only necessary to install the plugin in the app that initiates the connection. The app being connected to doesn't require the plugin to be installed.

Preparing the second application

You need to ensure some settings are properly configured in the second app. The settings depend on what kind of data and/or actions you want to share. First, navigate the Bubble editor in the second app to Settings - API.

Sharing API workflows

If you want to initiate API Workflows in the second app from the first app, you need to enable the Workflow API by checking Enable Workflow API and backend workflows.

All the workflows that you want to trigger in the second application need to have Expose as a public API workflow enabled.

Sharing data

To share data from the second application, you need to enable the Data API by checking Enable Data API and then enabling the data types that you want to share.

Each of the data types you enable in the Data API will become available in the dropdown in the Bubble App Connector plugin.

Creating the API key

To get full admin access to the second application, we will set up an API key. This method gives you unrestricted access to the workflows and data in the second application.

In Settings - API under the the API Tokens header, click the Generate a new API token button. You will be provided a randomly generated 32-character string that serves as the API key. You can provide a label for the token to keep track of where it's used. The label is only for your internal use and does not affect the connection in any way.

Setting up the connection

Now that we have installed the plugin and set up the second application to expose workflows and/or data, we can set up the connection and check that it works.

Let's look at each of the fields and what they mean:

  1. App domain: this is the name of the second Bubble app, as visible when you preview the app: https://appname.bubbleapps.io

  2. App name: This is the name of the application: this field will be automatically filled after you enter the domain in step 1.

  3. Match versions: Enable this option if you want the development environment of the first app to interact with the development environment of the second app. We recommend keeping this checked unless you have a specific reason not to.

After going through these four steps, Bubble will present you with the exposed workflows and data types. In the example below, we have an API workflow called Public-workflow and a data type called Task.

Action vs data

Next to the workflow or data type, there's a dropdown that lets you select between setting up the call as a data source or an action. This determines where in the first app you will be able to refer to it.

In the example below, it makes sense that the API workflow is set up as an action, meaning we can call it as an action in the workflow editor. The Task is set up as Data (data source) since we want to use to download Task data. In this case, the Tasks will be available by using the Get data from an external API data source in an expression.

Using the plugin

Calling an action

Let's dig a bit deeper into how you can use the API workflow from the second application in an action. Using it as an action means that we can add it as a part of a workflow along with actions relates to the first app.

After the plugin and connection has been set up, you will find all queries set up as actions under Plugins:

  1. Add a new action to a workflow

  2. Click the Plugins submenu

  3. Find the relevant action in the list that Bubble automatically generates. The label uses the following formatting: Run [app name] [action name]

This way you can keep track of actions from more than one application if necessary.

Querying data

To query data from the second application, we'll use the Get data from an external API data source. Let's say we want to list the tasks from the second application in the first application. We'll set up a and set up the expression as follows:

  1. As the type of content we select the Second Bubble app Task. The formatting Bubble will use here is: [App name] [Data type]

  2. As the data source, select Get data from an external API

  3. The data source will open up the window on the left. In API provider you will see your data sources listed in the format: Get [App name][Data type]

  4. In the three fields, you can select the sorting, cursor and number of items to return: Sort by: lets you pick a field on the data type to sort by, and whether to sort ascendingly/descendingly. Cursor: lets you set the item from which to start sending data, similar to Item from # in Bubble Number of items to return: lets you specify how many things to return.

Private key: This is the API that we .

generated in the second application
The Bubble App Connector plugin
The Bubble App Connector plugin lets you access the database and API Workflows of a second Bubble app
Make sure that the plugin you select has the By Bubble stamp in the lower right corner of the plugin entry.