Configuring Pelican.
Open the Pelican configuration
Open the Pelican configuration file by running the following command:
Configure allowed origins
Find the following line in the configuration file:Modify it to include the allowed origins for Spartan:
Replace
https://dash.example.com and http://dash.example.com with your actual dashboard URLs.Configure Pelican in Spartan
Get an Application API key
- In your Pelican admin panel, navigate to the Application API section.
- Generate a new API key with appropriate permissions.
-
Copy the generated key.

Get a Client API key
- Navigate to your Pterodactyl account settings.
- Go to the API Credentials section.
- Create a new client API key.
-
Copy the generated key.

Configure Pelican in Spartan
- Paste the Application API key in the designated field.
- Paste the Client API key in the designated field.
- Enter your Pterodactyl panel URL.
-
Click the Test Connection button to verify the setup.

Troubleshooting
If you encounter any issues:- Verify that your API keys have the correct permissions
- Ensure your Pterodactyl panel URL is correct and accessible
- Check that the
allowed_originsconfiguration includes your Spartan dashboard URL - Make sure the Wings service has been restarted after configuration changes


