In order to connect Bubble to Whalesync, you'll need two things:
- Your Bubble app API key
- Your Bubble app API URL
In Bubble, go to Settings (1), then to the API tab (2). Check the box to enable the Data API (3).
Bubble API settings
Your data types will show up right below. Check the box for every data type that you want to sync, to enable the API for that type.
Bubble data types exposed via the API
Keep "use field display instead of ID for key names" unchecked One more important thing: we strongly recommend making sure that "Use field display instead of ID for key names" is OFF (unchecked). That setting can break your syncing if any type or field names in Bubble are changed.
Please uncheck "Use field display instead of ID for key names"
Now you can grab your API key. Look below in the API tokens section. If you already have a token, you can use that. Or, click "Generate a new API token" (1). Then copy the "Private key" (2).
Make sure the settings changes you made in the previous step are published to your live Bubble app. Then, change your view using the menu in the top right, switching from "Development" to "Live" version.
Warning: The URL is different if you're looking at the "Development" version of your app and includes an extra "/version-test". Unless you're just testing things, you will likely want to use the production URL without the extra "/version-test".
Copy the "Data API root URL" value.
Data API root URL