Before implementing Deep link, you must set up user tokens first. A new user ID is created when a user tries to log in to Link for the first time. Keep the Argyle user ID mapped to your User ID to avoid creating duplicate users. Duplicate accounts can inflate usage, billing, and analytics data. Read Returning user experience before implementing Deep link.
Create a deep link map
Configure deep link in Console
If you only need to deep link a select number of users, or many of your users would be directed to the same Link item, configuring this feature on Console is the right option for you. You must create a unique customization for each Link item you wish to link to in Flows.If you need to set up deep linking for a large number of Link items, Argyle recommends using the programmatic approach outlined in the following section.
- Log in to Console and open Flows.
- Create a new customization or select an existing customization to edit.
- Go to the Deep link settings under Set available Link items and select Link item login.
- Find and select the Link item to deep link users to.
- Save the Flow ID and insert the ID in your Link configuration.
Configure deep link programmatically
If you need to configure deep linking to multiple different Link items, Argyle recommends following the programmatic approach.
linkItems parameter:
- Web
- iOS
- Android
- React Native
linkItems(array of strings) optional — Use this parameter to limit the number of Link items that your users can connect. Provide an array of Link item IDs you want Argyle Link to display on the Search screen. The order in which you list the IDs will define the order in which they are displayed in the UI. If you provide a single Link item ID, the Search screen will be skipped and the user will be navigated directly to the Link item Login screen.
Deep linking new users to log in
You can deep link new users to the Login screen and omit the Intro screen and Search screens in a few scenarios:- You know the exact Link item the user wants to connect. This could mean that you have already determined the user’s employer in your software, so you can send them to the respective Link item directly as described in VOIE Scoping.
- You can choose to support only a limited number of Link items, presenting a specific list of companies in your software to guide your user directly to the Login screen for one of those companies.
Deep linking returning users
For returning users, in addition to providing a Link item ID inlinkItems, you also need to provide the userToken associated with that user.
See these Link initialization examples to understand how to provide the userToken:
- Web
- iOS
- Android
- React Native
Updating a pay allocation
You may also want to deep link users to switch their direct deposit, allowing them to configure their direct deposit from within your application. To set up deep linking to direct deposit:- Query the
/link-itemsendpoint to confirm if the Link item supports direct deposit switching. If features.pay_distribution_update.supportedistrue, the Link item can be used in this flow. Also check if the Link item supportspercentoramountallocations. - Initialize Argyle Link for DDS to that Link item.
- If you have implemented user tokens and the user has connected an account already, you can send the user directly to the Direct deposit opened screen using the
payDistributionAutoTriggerLink configuration parameter.
Uploading documents
You can choose to deep link your users directly to an option that enables them to upload W-2s, 1099s, and paystubs. See our document upload guide for more information.Deep linking from a menu in your application
You can deep link users to Link items directly from a menu in your application. This solution is ideal if you are targeting a specific set of Link items, but want your users to be able to choose among them. Deep link each menu selection to a Link item for an integrated and seamless user experience./accounts endpoint to check the connection.status to show this information in your application:
Deep linking from a notification
If you need your user to re-authenticate so that you can regain access to their data, you can send them push notifications in your application, an email, or a text message to redirect them to connect. Specify thelinkItems and the userToken to enable the user to resume their session: