@@ -44,8 +44,6 @@ terraform {
4444
4545### Authentication
4646
47- #### Service Account API Key
48-
4947Configure the provider with your ZenML server URL and API key:
5048
5149``` hcl
@@ -55,32 +53,42 @@ provider "zenml" {
5553}
5654```
5755
56+ For OSS users, the ` server_url ` is basically the root URL of your ZenML server deployment.
57+ For Pro users, the ` server_url ` is the the URL of your workspace, which can be found
58+ in your dashboard:
59+
60+ ![ ZenML workspace URL] ( assets/workspace_url.png )
61+
62+ It should look like something like ` https://1bfe8d94-zenml.cloudinfra.zenml.io ` .
63+
64+ #### Option 1: Using ` ZENML_API_KEY `
65+
5866You can also use environment variables:
5967``` bash
6068export ZENML_SERVER_URL=" https://your-zenml-server.com"
6169export ZENML_API_KEY=" your-api-key"
6270```
6371
64- To generate a ZENML_API_KEY, follow these steps:
72+ To generate a ` ZENML_API_KEY ` , follow these steps:
6573
66741 . Install ZenML:
6775``` bash
6876pip install zenml
6977```
7078
71- 2 . Connect to your ZenML server:
79+ 2 . Login to your ZenML server:
7280``` bash
73- zenml connect --url < API_URL>
81+ zenml login --url < API_URL>
7482```
7583
76843 . Create a service account and get the API key:
7785``` bash
7886zenml service-account create < MYSERVICEACCOUNTNAME>
7987```
8088
81- This command will print out the ZENML_API_KEY that you can use with this provider.
89+ This command will print out the ` ZENML_API_KEY ` that you can use with this provider.
8290
83- #### API Token
91+ #### Option 1: Using ` ZENML_API_TOKEN `
8492
8593Alternatively, you can use an API token for authentication:
8694
0 commit comments