Integrations where users have to connect API themselves, worth it?

Hello all

We’re thinking of including a Notion integration on our app. If we were to connect our own Notion workspace on Bubble it would be simple enough but we want all of our users to be able to do the same which requires each workspace owner to go through the process of setting up the integration themselves.

Without an official Notion integration on Bubble, our users will have to generate their API keys/authorization codes and save them on our Bubble site. We just wanted to have a straightforward integration for a project management tool but this just feels like a lot to ask from our Users and not the best user experience overall (especially if they’ve never dealt with this sort of manual integration).

Curious if anyone has done something similar on their app and if its worth it to ask users to generate their own API keys to utilize an integration? Thank you

The way normally we do it, in most app is , first we create a small app on that platfrom or you can call it applet.

this will give us a Client ID & client secreat, whcih we can use to redirect our use to that platfrom where our user will signin and give us access, then that platform redirec our user to a redirect_link whcih we pass with a code.

then we can use that code to swap it for a API key, is belong to our user.

then when ever we call to call that platform as that use we simple use the api.

Arent notion give Oauth2.0 ?

2 Likes

I think notion case its called public integration , see this document , goto public integration seciton it will help you our:

if you still stuck ping me i would love to sort it out for you

1 Like

Yes, public integration, that’s the phrase I was missing. It says users won’t have to manually connect their workspace, perfect. Thank you!

My app has an admin area for users to add keys, the URL and scopes (for some integrations) and then each has it’s own auth and token page to deal with it. All the API connector settings are ‘self handled’ as this gave me the greatest level of control. It works pretty well and it means users can connect whatever supported platforms they want, and I can charge accordingly. This is all documented on the forums, if you need to go this way yourself.