Introduction
This guide shows you how to use the DataLinks web platform and SDK kit to find shared sales opportunities across two North American data sources. You will learn by doing: uploading files, connecting records, and exploring the results directly in the platform.This guide uses both the web platform and the DataLinks SDK kit. If you’d like a simpler introduction to DataLinks that only uses the web platform, you can try our Web QuickStart guide instead.
Scenario
You’re a sales manager for a dental products company in North America. Your goal is to see how your existing customer base overlaps with members of a major dental society to uncover new prospecting opportunities. You’ll work with two datasets:- A JSON file that contains your current customers, including names, locations, and contact details
- A dental society member list that includes dentists and clinic owners across the United States and Canada
Outcome
By the end of this guide, you will have a table showing which of your current customers also appear in the dental society list. You can explore these matches in the DataLinks platform or export them as a CSV file for follow-up. This exercise helps you practice the full workflow in DataLinks: importing data, linking records, exploring relationships, and using the insights for focused outreach.Prerequisites
To follow along on your machine and complete the steps in this guide, make sure you have the following ready:- Access to a DataLinks account.
Don’t have an account? Contact support@datalinks.com to request one.
- Download a copy of quickstart_api.zip to your local machine and extract it.
- Python installed on your local machine and the package-manager pip available. To download Python, see the official website.
-
The DataLinks SDK installed on your machine.
For installation instructions, see the official DataLinks SDK Installation Steps.
- A code editor such as Microsoft Visual Studio Code, which is free to download on Windows, Linux, or Mac.
Part 1: Create your namespace and first dataset
- Log in to the DataLinks platform.
- Click Create New Dataset.
-
Enter the following dataset name:
customer_list.Use underscores, not spaces, when naming your datasets. -
Enter namespace
dental_prospects_api. - Ensure the Dataset visibility is set to Private using the toggle.
- Click Create dataset and upload data.
Result: You’ve created an empty
customer_list dataset inside the dental_prospects_api namespace.Part 2: Upload the structured customer list
Now that you’ve created an empty dataset, you need to populate it with data. To do so, follow these steps:- Click anywhere in the Click to upload area to open the file explorer.
- Select customer_list.json from the
quickstart_api.zipfolder you downloaded, then click Open. - Wait while DataLinks ingests your data.
- Click the eye icon under Ingestion Results to review the data and confirm that everything looks correct.
- Scroll down to the bottom of the page, then click Upload data.
- Click Append to confirm.
Result: You’ve now populated your
customer_list dataset with data.Part 3: Create your DataLinks API token.
- Log in to the DataLinks platform.
- Click Settings in the left navigation menu.
- Click + Add a new token.
- Enter the name
dental_prospectsand set an expiration date for the token (for example, one month). - Click + Create token.
- Copy and save your token. (You’ll need in later steps.)
- Click I’ve copied the token to close.
Part 4: Use a script to upload and transform unstructured data
For the structured data you uploaded through the DataLinks web platform, you first created a dataset (Part 1) and then uploaded data into it (Part 2). For the unstructured data in this section, you’ll create and populate the dataset at the same time using a Python script. The unstructured data file you’ll use is a simple text file created by copying and pasting a list of dental society members into a text file. This is thesociety_members_api.txtfile you downloaded quickstart_api.zip folder you downloaded in the Prerequisites section.
To upload and transform your data, follow the steps below:
- Open the
ingest_dental.pyfile in your code editor. - Add the following information to the file:
-
On line 17,
apikey, paste in your API token. -
On line 19,
namespace,enter the namespace you’re using (dental_prospects_api) -
On line 20,
objectname, enter the name for the new dataset you’re creating (society_members) -
On line 26,
textfile, entersociety_members_api.txtand update the location if needed based on where you’ve placed the file in your directory. -
On line 49,
helper_prompt, paste in the following prompt:
-
On line 17,
- Verify everything looks correct, then save your file.
- Run your Python program. (In Visual Studio Code, press the play icon in the top-right corner of your screen.)
- Wait for the data to finish uploading. This may take 10-20 minutes.
Part 5: Manage connections
- Open the DataLinks web platform again and return to the Home page.
- Click the customer_list dataset in the
dental_prospectsnamespace. - Click the Connections tab.
- Click Select all under active Active Links. This will select all active links and ready them for removal.
- Click Save connections. This will remove all active links.
- Click the row containing
customer_list.full_nameandsociety_members.membername. - Click Add connections.