Adobe Commerce Intelligence was previously known as Magento Business Intelligence (MBI).
This article provides a solution for when you want to configure Adobe Commerce Intelligence connection for an existing Cloud Starter project.
Adobe Commerce on cloud starter (all versions)
You want to configure Commerce Intelligence connection for an existing Cloud Starter project.
Adobe no longer supports new Cloud Starter subscriptions, but if you have an existing Starter project, you will need to follow the steps given below to configure your connection.
To activate Commerce Intelligence for Cloud Starter projects, create a Commerce Intelligence account, create an SSH key, and finally connect to your Adobe Commerce database.
Follow these steps:
Create your Adobe Commerce Intelligence Account:
Input information about your store to set your preferences.
There is some information you will need to gather before you can connect your database for the third step in the onboarding flow. You will be filling in the Connect your database page in step 9.
Create a dedicated Commerce Intelligence user.
Add the newly created user to the project’s primary environment as a Contributor.
Get your Commerce Intelligence SSH keys.
Add your new Magento BI Essentials Public key to the Commerce Intelligence user created in step 5.
Provide Business Intelligence Essentials MySQL credentials.
.magento/services.yaml
.mysql:
type: mysql:10.0
disk: 2048
configuration:
schemas:
- main
endpoints:
mysql:
default_schema: main
privileges:
main: admin
mbi:
default_schema: main
privileges:
main: ro
.magento.app.yaml
.relationships:
database: "mysql:mysql"
mbi: "mysql:mbi"
redis: "redis:redis"
Get information for connecting your database to Commerce Intelligence.
Run echo $MAGENTO_CLOUD_RELATIONSHIPS | base64 --decode | json_pp
to get information on connecting your database.
You should receive information similar to the output below:
"mbi" : [
{
"scheme" : "mysql",
"rel" : "mbi",
"cluster" : "vfbfui4vmfez6-master-7rqtwti",
"query" : {
"is_master" : true
},
"ip" : "169.254.169.143",
"path" : "main",
"host" : "mbi.internal",
"hostname" : "3m7xizydbomhnulyglx2ku4wpq.mysql.service._.magentosite.cloud",
"username" : "mbi",
"service" : "mysql",
"port" : 3306,
"password" : "[password]"
}
],
Connect your Adobe Commerce Database.
Inputs:
mbi.internal
Set your Timezone Settings.
Inputs
Get information for your encryption settings.
Input information for your Encryption Settings.
Inputs
Click Save Integration.
You have now successfully connected to your Commerce Intelligence Essentials account.
If you are an Adobe Commerce Intelligence Pro customer, contact your Customer Success Manager or Customer Technical Advisor to coordinate the next steps.