How to use Neptune in Deepnote#
To track runs and log metadata to Neptune, take the following steps in your Deepnote environment:
Set up your API token#
To add an environment variable integration for your Neptune API token:
- In Deepnote, select Integrations.
- Create a new Environment variables integration.
-
Set the key to
NEPTUNE_API_TOKEN
and the value to your Neptune API token.How do I find my API token?
In the bottom-left corner of the Neptune app, expand the user menu and select Get your API token.
You can copy your token from the dialog that opens. It's very long – make sure to copy and paste it in full!
-
Save the environment variable.
Install Neptune#
Upgrading with neptune-client
already installed
Important: To smoothly upgrade to the 1.0
version of the Neptune client library, first uninstall the neptune-client
library and then install neptune
.
You can now use Neptune with your model training code.