Find intro button
Find intros is the quickest way to offer network features to your users in 1 button.
🛠️ Initiate the Village JS SDK
Copy the snippet below and add it within the <head>
 tag The unique user identifier should be unique - such as an email, or an internal ID. This is required for you to later on be able to cancel users from being added to your upcoming bill.
✨ Add the “Find intro” button
Add village-data-url
attribute to any html element, and Village automatically adds an onclick event that triggers the paths experience. If the user hasn’t synced their connections yet, they’ll be prompted to authorize Village and then sync their connections.
🎉 Go live!
Conditions
-
If user hasn’t set up their network yet User is shown the sync network modal so they sync their connections first
-
If no path was found to a specific person or company User is shown the sync network modal so they can add more accounts
-
If more than one path was found The browse paths modal experience will show up.