Skip to main content

Authentication

Creating a Client‚Äč

Before a DCR can be built, a Client object must be constructed with the necessary user credentials. The Client object is responsible for communicating with the Decentriq platform and can be used to retrieve information about existing DCRs or available datasets etc.

import decentriq_platform as dq

user_email = "@@ YOUR EMAIL HERE @@"
api_token = "@@ YOUR TOKEN HERE @@"

client = dq.create_client(user_email, api_token)
note

Create and manage your API tokens via the Decentriq UI - API tokens page.

Create access token