# Configuring the Advanced API Settings

The Advanced API Settings allow you to configure critical parameters for the API connection used by the Kognetiks Chatbot. Follow these steps to ensure the plugin is properly set up:

<img src="advanced-api-settings.png" alt="Advanced API Settings" style="width:auto;height:auto;">

1. **Base URL for API**:
   - **Description**: This field specifies the base URL for the Google API. The plugin uses this URL to connect to the Google servers.
   - **Default Value**: The default URL is `https://generativelanguage.googleapis.com/v1beta`.
   - **Customization**: Typically, you should not need to change this value unless directed by Mistral support or if there are specific requirements for your integration.

2. **Timeout Setting (in seconds)**:
   - **Description**: This setting determines how long the plugin will wait for a response from the API before timing out.
   - **Default Value**: The default is set to 240 seconds.
   - **Customization**: Adjust this value based on your server's performance and network conditions. A higher value might be needed if you experience frequent timeouts, while a lower value can be used to reduce wait times in case of unresponsive requests.

## Steps to Configure

1. Navigate to the Advanced API Settings section of the Kognetiks Chatbot plugin in your WordPress dashboard.
2. Verify the `Base URL for API` is set to `https://generativelanguage.googleapis.com/v1beta`. Change it only if instructed by Mistral or if you have specific requirements.
3. Set the `Timeout Setting (in seconds)` by entering a numeric value that suits your server and network conditions.
4. Save the settings.

## Tips

- **Avoid Unnecessary Changes**: Unless you have a specific reason, it's best to leave the Base URL as the default provided by Mistral.
- **Monitor Performance**: If you experience issues with response times or API connectivity, consider adjusting the timeout setting and monitor the performance impact.
- **Consult Documentation**: For more information on API parameters and troubleshooting, refer to the [Google API Reference](https://ai.google.dev/gemini-api/docs).

By configuring these settings, you ensure that your Kognetiks Chatbot maintains a stable and efficient connection to the Mistral API, providing reliable performance for your users.

---

- **[Back to API Google Gemini Settings](api-googe-model-settings.md)**
- **[Back to the Overview](/overview.md)**