<commit_before>### Getting an Agent Key and a User Key:
DukeDSClient requires a config file containing an __agent_key__ and a __user_key__.

## Steps To Create your Agent and User Keys
This requires a [Duke NetID](https://oit.duke.edu/email-accounts/netid/).
You can create be generated by visiting the [Duke Data Service Portal](https://dataservice.duke.edu).
####  1. Click login
####  2. Click top left menu button
![Alt text](/images/TopLeftMenuButton.png?raw=true "Top Left Menu Button")
####  3. Click 'Software Agents'
![Alt text](/images/TopLeftMenu.png?raw=true "Top Left Menu")
####  4. Click 'ADD NEW AGENT' button
![Alt text](/images/AddAgentButton.png?raw=true "Add Agent Button")
####  5. Fill in data for a new agent and click 'SUBMIT'.
![Alt text](/images/CreateAgent.png?raw=true "Create Agent")
####  6. Click Agent you just created.
![Alt text](/images/ClickAgent.png?raw=true "Click Agent")
####  7. Click Key Menu button.
![Alt text](/images/KeyMenuButton.png?raw=true "Key Menu Button")
####  8. Click Key Menu button.
![Alt text](/images/KeyMenuButton.png?raw=true "Key Menu Button")
####  9. Select 'User Secret Key'.
![Alt text](/images/KeyMenu.png?raw=true "Key Menu Button")
####  10. Click Create New Key.
![Alt text](/images/CreateNewKey.png?raw=true "Key Menu Button")
####  11. Click 'COPY KEY TO CLIPBOARD'.
![Alt text](/images/CopyKeyToClipboard.png?raw=true "Key Menu Button")


You how have your user key in your clipboard.

Create a file at ~/.ddsclient with your keys in the following format:
```
user_key: <USER_KEY>
agent_key: <AGENT_KEY>
```

You should be able to now user ddsclient: [README.md](../README.md)<commit_msg>Update GettingAgentAndUserKeys.md<commit_after>### Getting an Agent Key and a User Key:
DukeDSClient requires a config file containing an __agent_key__ and a __user_key__.

## Steps To Create your Agent and User Keys
This requires a [Duke NetID](https://oit.duke.edu/email-accounts/netid/).
You can create be generated by visiting the [Duke Data Service Portal](https://dataservice.duke.edu).
####  1. Click login
####  2. Click top left menu button
![Top Left Menu Button](images/TopLeftMenuButton.png?raw=true "Top Left Menu Button")
####  3. Click 'Software Agents'
![Top Left Menu](images/TopLeftMenu.png?raw=true "Top Left Menu")
####  4. Click 'ADD NEW AGENT' button
![Add Agent Button](images/AddAgentButton.png?raw=true "Add Agent Button")
####  5. Fill in data for a new agent and click 'SUBMIT'.
![Create Agent](images/CreateAgent.png?raw=true "Create Agent")
####  6. Click Agent you just created.
![Click Agent](images/ClickAgent.png?raw=true "Click Agent")
####  7. Click Key Menu button.
![Key Menu Button](images/KeyMenuButton.png?raw=true "Key Menu Button")
####  8. Select 'User Secret Key'.
![Key Menu Button](images/KeyMenu.png?raw=true "Key Menu Button")
####  9. Click Create New Key.
![Key Menu Button](images/CreateNewKey.png?raw=true "Key Menu Button")
####  10. Click 'COPY KEY TO CLIPBOARD'.
![Key Menu Button](images/CopyKeyToClipboard.png?raw=true "Key Menu Button")


You how have your user key in your clipboard.

Create a file at ~/.ddsclient with your keys in the following format:
```
user_key: <USER_KEY>
agent_key: <AGENT_KEY>
```

You should be able to now user ddsclient: [README.md](../README.md)
{'fraction_non_alphanumeric': 0.14563106796116504, 'fraction_numerical': 0.007281553398058253, 'mean_word_length': 4.8353982300884955, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4250143', 'n_tokens_mistral': 1064, 'n_tokens_neox': 1039, 'n_words': 378}