Create Your Own API Key
After signing up and logging in, click to create your own API Key.
Creation Steps
- Log in to the MortyCode platform
- Go to "Token Management"
- Click the "Add Token" button
- Create the token you want to use. Do not select the user group — instead, choose the group that suits you based on the model status on the Status page, the token description, and the group multiplier.
- Save and copy the Key
💡 Tip
Leave the Model Restriction List empty — you don't need to configure it unless you fully understand what it does.
Security Recommendations
🔐 Security Reminder
- Do not share your Key with others
- Do not commit your Key to a code repository
- Do not display your Key in public
- When asking whether your configuration is correct, mask the Key
- Store the Key in environment variables or a config file
- Rotate the Key regularly for better security
Save Your Key
After successful creation, save your Key immediately:
bash
# Example Key (replace with your actual Key)
sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxNext Steps
- Modify token settings — Adjust token parameters
- Configure environment variables — Use the Key in your tools