Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 879 Bytes

authentication.md

File metadata and controls

43 lines (27 loc) · 879 Bytes

🔑 Authentication

To create and run a workflow, you first need to authenticate with UP42 via your project credentials.

Get your Project credentials

Log in to UP42.com and create a new project or select an existing one. In the project's Developers section you can find the project_id and project_api_key.

Authenticate

Authenticate by providing the project credentials directly in the code:

import up42
up42.authenticate(project_id="123", project_api_key="456")

Or create a simple configuration json file and provide its file path:

{
  "project_id": "123",
  "project_api_key": "456"
}
import up42
up42.authenticate(cfg_file="config.json")

!!! Success "Success!" Continue with the Structure chapter!