Set Up Flinks Connect

Complete the following steps to set up Flinks Connect.

  1. Install and configure Flinks Connect.
  2. Set up your environments.
  3. Set up your API connection.
  4. Set up the iframe URL parameters to specify the data points that you are collecting.
  5. Set up your website or app to allow pop-ups to open. Flinks Connect displays in a pop-up window and prompts the end-user to authenticate themselves by entering their login credentials.
  6. Use the redirectUri parameter to allow Flinks to bring the end-user back to your page after completing the authorization flow.
  7. Optionally, set up an event listener to keep track of each user's events in the iframe. To do this, place the following script on your page:
    <!-- Event Listener -->
    <script>
        window.addEventListener('message', function(e) {
            console.log(e.data);
        });
    </script>
    
    For more information about the type of events you can listen for, see List of events in Flinks Connect.
  8. After the end-user's successfully connects their account, Flinks Connect provides a loginId that allows you to access the data connected for that particular user through our APIs. Save the loginId by securely storing it in your servers. Do not make a loginId public.
  9. Optionally, if your use case requires it, Flinks provides an endpoint (/DeleteCard) that allows you to delete the loginId and all end-user data that's associated with it.
  10. Set up the back-end solution.
  11. When everything is set up correctly, you're ready to go to production.
  12. Optionally, choose data enrichment add-ons to collect powerful insights on the customer data.
  13. The requestId allows you to start securely receiving the customer's data.