Authentication#
Generate API Key#
To run these examples, you will need a ByteGenie API key. To generate an API key, sign up on ESGnie, and verify your account, by clicking on the activation URL sent via email. The activation email will contain an API key, which can be used once the account is verified.
In case of any issues with generating an API key, contact us at info@esgnie.org
Set up credentials#
Once you have an API key, save it in a secrets.json file inside the code repo, along with your username. Some examples may require an OpenAI API key as well, which can also be set in secrets.json. Here is an example of secrets.json
{ “username”: “…”, “BYTE_GENIE_KEY”: “…”, “OPENAI_KEY”: “…” }
Once secrets.json is setup, you can run any of the python scripts or jupyter notebooks to get started.