We’ve added a feature that will be useful to power users that run more than one app. It lets you connect two apps through their APIs. What you’ll be able to do is to read data in an app from another app, using the GET API (and for instance displaying results in a repeating group), and use some API workflows in some actions. You can even use one app as an authentication provider and have your users login in one app with the credentials of another app.
To do this, just install the plugin ‘Bubble App Connector’. You’ll need to set up the API in the first app, and then enter the domain name in the second one in the plugins panel.
You can read more about it here. Introduction - Bubble Docs Let us know how it goes! We just released the feature so there might be some situations we don’t cover yet.
It’s for an enterprise level app that we’re busy planning.
Say you’ve got 3 apps. App A, B & C. The client can subscribe to any one of the apps or a combination of A, B or C but the users must be able to login from one page and have access to the different subscriptions and not having to log in to different apps.
I’ll send you a mail to give you a better explanation. I can unfortunately not describe the app publicly.
We’ve got a similar thing with regards to teachers. There are several different standalone apps that they can subscribe to either individually or altogether. Linking the apps together lets us share information between 2 or 3 of them without needing to do hacky workarounds. Good stuff!
As a small warning for people that have started experimenting the plugin, we’re pushing in a few minutes a change in the way we return the result of a GET call, as we’ll show the number of remaining items, etc.
You can do what you’ve enabled to do through the API workflows. So if you have an API Workflow in app B that creates a thing, app A can run this workflow and create this thing. And app A can read whatever type you’ve exposed in the settings tab of app B.
When you search another database, this doesn’t go through an API workflow. A workflow is a workflow. Instead, you should expose the type you want to be able to search and you use the Get Data from API option in the app that you want to be able to access the data.
As this is a power user feature, we don’t have demos on this.
@emmanuel, is there any possibility to know (in the app that is serving response, e.g. GET) about the fact of request?
Let’s say I want to calculate some data or query 3rd service/app or get geo position etc ONLY when request comes.