- Navigate to the OpenAI API website.
- Sign in to your existing OpenAI account or create a new one if necessary.
- Ensure that your payment details are entered and current.
- Navigate to the OpenAI API website.
- Select the
API Keys
tab from the left-hand menu. - Click the
+ Create new secret key
button. - Store the generated API key securely.
- Open the Obsidian vault where this plugin is installed.
- Access the settings for this plugin.
- In the API Provider setting, choose
OpenAI
to update the API settings view. - Paste the API key you copied earlier into the
OpenAI API key
field. - Confirm that the
OpenAI API URL
field is set tohttps://api.openai.com/v1/chat/completions
. - Test the connection by clicking the
Test Connection
button to ensure the API key is correct and the plugin can connect to the OpenAI API. - Exit the settings window.
- The plugin is now ready for use. Begin typing, and upon reaching a trigger, such as the end of a sentence, the plugin will offer suggestions. Or manually trigger the plugin by opening the command palette and typing
Copilot auto completion: Predict
.