Skip to content

Commit fe2f47e

Browse files
dabrtmnocon
authored andcommitted
IBX-9621: Add permissions to Connect configuration (#2707)
* IBX-9621: Add permissions to Connect configuration
1 parent 60b1572 commit fe2f47e

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed
48.7 KB
Loading

docs/ai_actions/install_ai_actions.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ AI Actions are available as an LTS update to [[= product_name =]] starting with
1010
To use this feature you must first install the package.
1111
You can then install and configure the service connectors or build your own ones.
1212

13-
## Install the framework
13+
## Install framework
1414

1515
Run the following command to install the package:
1616

@@ -21,7 +21,7 @@ composer require ibexa/connector-ai
2121
This command adds the framework code, service handlers, Twig templates, and configurations required for using AI Actions.
2222
It also modifies the permission system to account for the new functionality.
2323

24-
## Modify the database schema
24+
## Modify database schema
2525

2626
Create the `add_ai_actions.sql` file that contains the following code.
2727

@@ -106,10 +106,25 @@ If specific users from the team are supposed to modify scenario settings, you mu
106106
### Create token
107107

108108
Navigate to your [[= product_name_connect =]] user's profile, and on the **API ACCESS** tab, create a new token.
109-
Copy the token code that appears next to the label.
109+
Select the following scopes to set permissions needed to enable the integration of platforms:
110+
111+
- `custom-property-structures:read`
112+
- `custom-property-structures:write`
113+
- `hooks:read`
114+
- `hooks:write`
115+
- `scenarios:read`
116+
- `scenarios:write`
117+
- `team-variables:read`
118+
- `team-variables:write`
119+
- `templates:read`
120+
- `templates:write`
121+
- `udts:read`
122+
- `udts:write`
110123

111124
![Creating an API token](img/connect_api_token.png)
112125

126+
Copy the token code that appears on the tokens list, next to the label.
127+
113128
### Set up credentials
114129

115130
In the root folder of your project, modify the `.env` file.

0 commit comments

Comments
 (0)