To create and run a workflow, you first need to authenticate with UP42 via 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 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!