-
Open Jupyter Notebook or Google Colab, and install the AGENT package using
pip.!pip install antigranular_enterprise &> /dev/null -
Import the AGENT library and connect to the AGENT Server using your client credentials. To find your
<Config_URL>and<API Key>, head over to your profile.import antigranular_enterprise as ag
ag.write_config("<Config_URL>", profile='default')
ag_client = ag.login(api_key="<API key>") -
Follow the link to approve the log-in in the AGENT Console.
From now on, any code cell that follows %%ag will run on the remote server, which operates under restricted conditions, allowing only methods that guarantee differential privacy.