Table of Contents generated with DocToc
Follow these steps to analyze GitHub repos and other objects with Cartography.
- Prepare your DigitalOcean credentials. Visit official docs for
more up to date info.
- Login into your DigitalOcean Account
- Visit Account -> API -> Tokens section
- Click on
Generate New Token
to create a personal access token - Make sure the scope of the token is set to
READ
- Populate an environment variable of your choice with the access token generated in the previous step.
- Call the
cartography
CLI with--digitalocean-token-env-var YOUR_ENV_VAR_HERE
. Cartography
will then load your graph with data from the account linked to the token you specified.