To access the Logic API, you will need to provide an authorization token. This token is used to authenticate your requests and ensure that only authorized users can access your documents.
To create an API key, go to the API Keys page in the Logic Dashboard. Click on the “Create a new secret key” button and follow the prompts to generate a new key.Make sure to copy the key and store it in a secure location, as you will not be able to see it again after you close the dialog.
Note that setting the environment variable this way will only persist for the current terminal session. If you open a new terminal window, you will need to set the environment variable again.To set the environment variable permanently, you can add the above command to your shell configuration file (e.g., .bashrc, .bash_profile, or .zshrc for MacOS/Linux, or System Properties for Windows).