Technical setup / 6 minute read
Configure OpenAI with your own key
Create a Keystore, add an API key, and connect it to the OpenAI Settings in Build your setup.
Last verified 2026-11-10Before you start
Complete this setup before building a support-ticket classifier if Build your setup still needs OpenAI credentials. You’ll create a Keystore entry for your API key and reference it from a Setting. You need permission to manage those resources and an OpenAI API key approved by your team. Your provider account may incur charges.
The guided beta uses Ready to explore, which already has credentials configured. Before connecting company data, read Beta data and access.
Experiment with your own configuration
If you’re in a different Environment, enter /new and choose Build your setup. Run /context to check that you’re in the right Environment. It starts with a model selection.
1. Store the API key
If you don’t already have an Elyxis Keystore in Build your setup, ask:
Create an Elyxis Keystore named Setup secrets with the alias secrets.
Review and confirm the creation. Then ask:
Add a key named openai_key to the Keystore with alias secrets.
If you’re using an existing store, substitute its alias for secrets. Enter the API key only when the CLI opens a masked prompt for the secret value. Review the Environment, Keystore, and key alias before confirming.
2. Connect the key to OpenAI Settings
Create the OpenAI credentials setting using the OpenAI credentials binding.
At the openai.apiKey value prompt, type /store on its own and press Tab or Enter to open the Keystore picker. Use the arrow keys and Enter to select your Keystore, then select openai_key the same way. The CLI inserts a reference into the value prompt. Press Enter again to submit it, then review and confirm the change in Build your setup.
3. Check the model and credential Settings
List all settings.
Look for openai-model with the openai.model entry and openai-credentials with a Keystore reference for openai.apiKey. Keep the preselected model for this exercise. To change it, ask Elyxis to update the openai.model entry in openai-model and choose from the models offered for that Setting.
Continue to building the classifier
4. Create and run a ticket summary App
If you’d like to try a quick run with your new configuration, ask for a one-sentence ticket summary.
Paste the following as one request. If your terminal submits pasted lines separately, enter /paste first and /send on its own line afterward.
Create an App that summarizes a support ticket in one sentence.
Run it on this ticket: I updated the app yesterday. It now closes every time I try to upload a receipt.
Elyxis chooses the building blocks for the App. Look for a one-sentence summary that mentions the app closing during receipt uploads after the update. Then run List all apps. to see the new App in Build your setup. This example uses the text you supply and needs no database connection.
Choose between /store and /file
Use these controls at a Setting value prompt:
/storeinserts a reference to a saved secret. Type it on its own and press Tab or Enter. If it’s inside a longer value, such as a database URL, put the cursor immediately after/storeand press Tab. Choose the Keystore and key, then press Enter when the completed value is ready. Keystores and secrets/fileloads text from a file on the computer running the CLI. Use it for non-secret values such as a schema catalog. Type/fileand press Enter to browse, or enter a path such as/file "./northstar-catalog.json". Review the loaded text before pressing Enter to submit it. Elyxis saves the text you submit as the Setting value. Use a file as a Setting value