BUBBLE SETUP DOCS
Pathfix and Bubble Setup
API Connector
7min
with pathfix, you can establish a connection with any oauth service provider and make api calls between these apps for your users pathfix works as a pass through api that stamps all your requests with the required tokens and sends your requests to the provider, allowing you to consume any api endpoint offered by the provider important this is step 2 of the setup and you need to have completed step 1 (user authorization) first before calling any api need documentation for bubble user authorization setup? check it here bubble user authorization docid\ ugetlx9c83jct0lm9q yc video walkthrough bubble api connector all your api calls will have to go through pathfix so that we can stamp each call with the relevant tokens for the user and then send it to the provider this api call structure is found in pathfix under api call to view a sample of api call, click on test connection and connect an account from the sample method dropdown, select any of the sample api calls configured and hit send you should receive a success response from the provider to make the api call to pull data from the provider, you will need to use the bubble api connector plugin in bubble, click on plugins from the left nav bar click on add plugins and search for api connector install the bubble api connector plugin change the api name for ease of reference and choose authentication type as private key in url enter your pathfix private key from your pathfix application (see how you can find your keys here pathfix keys docid\ tri5kszom6wo bvfazvwa ) add a call, give it a name for internal reference add post call to the pathfix endpoint (the method used will always be post) in the json body, enter the endpoint url, the method for the call and the payload enter the public key and user id under parameters and add the json body click on initialize call upon successful configuration and data mapping, you will be able to use this api call with your bubble user data sample setup here is a sample setup using the bubble api connector with further detailed instructions key value and development key value is the pathfix private key add the post url as https //labs pathfix com/oauth/method/{providername}/call key name should be public key the value of key can be found at check private check queryst key name should be user id enter your pathfix login email id over here (note ensure that you have tested the connection after configuring your integration in pathfix) uncheck private check queryst (below) while configuring to use the api in a datasource element or a workflow action, ensure that the user id points to the current user's unique id this will enable the functionality that will allow the message/payload sending between your app and the service provider not comfortable working with apis directly? take a look at some of our pre configured plugins here https //docs pathfix com/bubble/no code plugins having trouble? reach out to us at support\@pathfix com and we would be happy to help you