This documentation is for a version that has reached its End Of Life. Such versions are no longer supported and don't receive security updates. Consider updating to a newer version.
AI Actions are available as an LTS update to Ibexa DXP starting with version v4.6.12 or higher, regardless of its edition.
To use this feature you must first install the package.
You can then install and configure the service connectors or build your own ones.
This command adds the framework code, service handlers, Twig templates, and configurations required for using AI Actions.
It also modifies the permission system to account for the new functionality.
This command modifies the existing database schema by adding database configuration required for using AI Actions.
Next steps
Once the framework is installed and configured, before you can start using AI Actions, you can configure access to [[ = product_name_base = ]]-made service connectors by following the instructions below, or create your own.
Then, in the root folder of your project, modify the .env file: find the OPENAI_API_KEY variable and replace a placeholder value with the API key that you got from the AI service.
By installing a collection of sample AI action configurations you can quickly start using the feature.
You do it by following a standard data migration procedure:
In Ibexa Connect, set up the account, and create a team.
Navigate to the team details page and note down the numerical value of the Team id variable.
Creating a team matters, because scenarios that process data coming from your AI action are associated with a team.
This way, if your organization has more than one Ibexa DXP project, each project can be linked to a different team and so can be scenarios used in those projects.
If specific users from the team are supposed to modify scenario settings, you must assign the right roles to them.
In the root folder of your project, modify the .env file.
Replace a placeholder value of the IBEXA_CONNECT_TOKEN variable with the token that you got from Ibexa Connect and provide a value of the IBEXA_CONNECT_TEAM_ID variable.
123456789
###> ibexa/connect ###IBEXA_CONNECT_HOST=https://connect.ibexa.co
IBEXA_CONNECT_API_PATH=/api/v2/
# Token can be created in the user's profile in Ibexa Connect, under the 'API ACCESS' section.IBEXA_CONNECT_TOKEN=<your_api_token>
# Use the URL below to read more on Ibexa Connect teams.# https://doc.ibexa.co/projects/connect/en/latest/access_management/teams/IBEXA_CONNECT_TEAM_ID=2###< ibexa/connect ###