DataCamp Workspace is a cloud-based notebook that allows you to experiment with code, analyze data, collaborate with others and share insights with no installation required. Visit the DataCamp website to learn more about DataCamp Workspace or access your workspace directly if you are an existing customer.
This page describes how you can connect the Data Connector to your Workspace to get immediate access to all your learning data. This assumes you already have created a workspace. If you don't know how to create a new workspace, our Workspace documentation helps you on the way!
Before you can set up an integration, first make sure you have the credentials for the Data Connector. You can find them by logging in to the Group Hub. Our Getting started documentation will help you on the way.
In order to connect to the Data Connector from a Workspace you'll need to set up an integration. Workspace integrations allow you to seamlessly connect to data sources or external services in a secure way. With an integration you can define environment variables that allow you to safely store secrets (such as passwords, API keys, etc ...) within a workspace.
Now save and connect the integration to your workspace.
The simplest way to test if the connection to the Data Connector works is by using our dcdcpy package which comes pre-installed in all workspaces. Just copy & paste the code snippet below in a new notebook and it should display the first 5 members of your organization.
import dcdcpy.dcdcpy as dcdcpy
dc = dcdcpy.DataConnector()