Configure Plane
Follow these steps to configure plane
. You only have to do this once.
- Create a new context by running
plane config create-context <CONTEXT-NAME>
. Replace<CONTEXT-NAME>
with any recognizable name. - You will be asked to provide the following information
- Enter your Seaplane API Key:
<YOUR-SEAPLANE-API-KEY>
(just like a sudo command no characters are shown) - Enter a name for this API Key: This can be any name you like
- Add advanced properties [y/N]? : N
- Create the log stream
plane stream create _SEAPLANE_LOGGING
- Enter your Seaplane API Key:
Confirm everything is working as expected by running the following two commands:
- Input Command
- Expected Output
plane config use-context <YOUR-CONTEXT-NAME>
plane auth refresh
switched to <YOUR-CONTEXT-NAME>
JWT refreshed
tip
plane
supports the use of multiple contexts.
Repeat the steps for each API key in your account. You can switch between API
keys by running plane config use-context <CONTEXT-NAME>