<@ULVA73B9P> Can you tell me more about the config...
# ask-marvin
j
@Marvin Can you tell me more about the config field
PREFECT_API_KEY
?
m
The
PREFECT_API_KEY
is an environment variable used to authenticate your local environment with Prefect Cloud. It allows you to access Prefect Cloud without using the CLI, which is particularly useful when working in remote or serverless environments. To use it, you must first create an API key through the Prefect Cloud UI. Here's how: 1. Go to the account icon at the bottom-left corner of the Prefect Cloud UI. 2. Select "API Keys" to view and manage your keys. 3. Click the "+" button to create a new key, providing a name and expiration date. 4. Copy the generated key to a secure location, as it won't be displayed again. You can then set the
PREFECT_API_KEY
environment variable with this key to authenticate your environment. For more details, you can refer to the Prefect documentation.