This article explains how to create API keys from within Gemini to then connect your Gemini account to bring in holdings, transactions and account data.
This link shows how to create the API keys within Gemini - https://support.gemini.com/hc/en-us/articles/360031080191-How-do-I-create-an-API-key-
Once you have generated the API keys follow the below steps;
Gemini step by step walk through - for a follow along guide while you are in the platform, click 'Guide me'
Steps to connect the account
1. Go to connections page and select the Crypto Category
2. Press 'Add Connection'
3. Search for and select Gemini
4. Press continue
5. Enter the API key and secret into the Gemini credentials screen