xAI Integration (Grok)
Introduction
The xAI integration allows you to connect Arigato Automation with xAI’s AI models to generate AI-powered responses within your workflows. This integration can be used for various automation tasks, including customer support responses, product descriptions, and more.
Configuring the Integration
To set up the xAI integration in Arigato, follow these steps:
- Navigate to the Integrations Page
- In the Arigato Automation app, go to Integrations > xAI.
- Enter Your API Key
- Input your xAI API Key into the provided field.
- This key is required to authenticate and use xAI’s AI services.
- Enable as Default AI Integration (Optional)
- Check the box to use xAI as the default AI provider for the
ai
Twig filter. - This option appears only if two or more AI integrations are enabled at the same time.
- If only one AI integration is enabled, this setting is not required—users can simply select the model when configuring their automation action.
- Check the box to use xAI as the default AI provider for the
- Save Your Settings
- Click Save to apply your settings.
Testing the Integration
Once configured, you can test the integration directly within Arigato:
- Scroll to the Test the Integration section.
- Enter a test prompt (e.g., “Tell me a random and inspirational quote.”).
- Click Send Test Prompt to see a response generated by xAI.
xAI Credit Costs
- The cost of using xAI’s AI models varies based on the number of tokens used.
- Ensure your xAI API plan includes sufficient credits for your automation needs.
Arigato Credit Costs
- xAI Actions cost 1 credit on Lite plans and are unlimited on Unlimited plans.
Limitations
- xAI API usage limits depend on your xAI account plan.
- If your API key is incorrect or expired, requests will fail.
- Some xAI models may have usage restrictions based on your subscription level.
Troubleshooting
API Key Not Working
- Double-check that the API key is correctly entered.
- Ensure your xAI account has an active subscription.
No Response or Partial Response from AI
- Ensure your xAI API quota has not been exceeded.
- Check if the selected xAI model is available under your plan.
For further assistance, refer to xAI’s API documentation or contact Arigato support.