Go to the Nevermined App
Open nevermined.app and sign in with your account.

Configure and Generate
Give your key a descriptive name, select the permissions you need, and click Generate API Key.

Copy Your Key
Once created, click Copy Key to copy it to your clipboard. Store it securely as an environment variable:API keys are environment-specific. Keys created in the Sandbox environment will start with 
sandbox:, and keys created in the Live environment will start with live:. Use a different API key for each environment, and set NVM_ENVIRONMENT to sandbox or live to match the key you are using.

