You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/book/getting-started/zenml-pro/projects.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,12 @@ This command sets the "default" project as your active project. All subsequent Z
45
45
Best practice is to set your active project right after running `zenml init`, just like you would set an active stack. This ensures all your resources are properly organized within the project.
46
46
{% endhint %}
47
47
48
+
You can also set the project to be used by your client via an environment variable:
49
+
50
+
```bash
51
+
export ZENML_ACTIVE_PROJECT_ID=<PROJECT_ID>
52
+
```
53
+
48
54
### Setting a default project
49
55
50
56
The default project is something that each user can configure. This project will be automatically set as the active project when you connect your local Python client to a ZenML Pro workspace.
Copy file name to clipboardExpand all lines: docs/book/reference/environment-variables.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,11 +135,12 @@ For more information on server configuration, see the [ZenML Server documentatio
135
135
136
136
## Client configuration
137
137
138
-
Setting the `ZENML_STORE_URL`and `ZENML_STORE_API_KEY` environment variables automatically connects your ZenML Client to the specified server. This method is particularly useful when you are using the ZenML client in an automated CI/CD workload environment like GitHub Actions or GitLab CI or in a containerized environment like Docker or Kubernetes:
138
+
Setting the `ZENML_STORE_URL`, `ZENML_STORE_API_KEY`and `ZENML_ACTIVE_PROJECT_ID` environment variables automatically connects your ZenML Client to the specified server for a specific project. This method is particularly useful when you are using the ZenML client in an automated CI/CD workload environment like GitHub Actions or GitLab CI or in a containerized environment like Docker or Kubernetes:
0 commit comments