ConfigurationΒΆ

Follow these steps to analyze GitHub repos and other objects with Cartography.

  1. Prepare your DigitalOcean credentials. Visit official docs for more up to date info.

    1. Login into your DigitalOcean Account

    2. Visit Account -> API -> Tokens section

    3. Click on Generate New Token to create a personal access token

    4. Make sure the scope of the token is set to READ

  2. Populate an environment variable of your choice with the access token generated in the previous step.

  3. Call the cartography CLI with --digitalocean-token-env-var YOUR_ENV_VAR_HERE.

  4. Cartography will then load your graph with data from the account linked to the token you specified.