Skip to content

Working with AWS#

The Neptune–AWS integration lets you initialize Neptune by reading your credentials from AWS Secrets.

Related

Before you start#

Installing the neptune–aws integration#

On the command line or in a terminal app, such as Command Prompt, enter the following:

pip install -U "neptune[aws]"
conda install -c conda-forge neptune-aws

Usage#

You can now initialize a Neptune run by passing the name of the secret and an AWS region:

from neptune.new.integrations.aws import init_run 

run = init_run(
    secret="neptune-secret",  # Use your secret name here
    region="us-west-1",  # Use the appropriate region here
)