Open the BitMEX API page by first clicking on your account name (email) the top right corner. Then, click Account and Security, and on the left sidebar, click API Keys.
Leave Key Permissions blank and Withdraw unchecked.
Click the Create API Key.
Copy your API key and secret to TokenTax.