# Authenticate the package using Service Account credentials.
dt.default_auth = dt.Auth.service_account(
key_id='<SERVICE_ACCOUNT_KEY_ID>',
secret='<SERVICE_ACCOUNT_SECRET>',
email='<SERVICE_ACCOUNT_EMAIL>',
# Grant Service Account membership in the specified project.
member = dt.Project.add_member(
project_id='<PROJECT_ID>',
email='<SERVICE_ACCOUNT_EMAIL>',
roles=[dt.Role.PROJECT_DEVELOPER],
# Print the updated member.