Skip to content

Amplience

When configured, MACH will load the Amplience provider which can be used by any component that needs the Amplience integration.

For this you need to define a client_id, client_secret in your general config. These are optional if you define them at the sites level

Configure MACH composer

mach_composer:
  plugins:
    amplience:
      source: mach-composer/amplience
      version: 0.1.3

global:
  # ...
  amplience:
    client_id: your-client-id
    client_secret: your-client-secret

sites:
  - identifier: my-site
    # ...
    amplience:
      hub_id: your-hub-id
      client_id: your-client-id # override
      client_secret: your-client-secret # override

Each site can optionally have their own Amplience access configuration, but always needs a hub id.

You can define the id of the hub your site configuration by giving it a hub_id.

Integrate with components

When amplience is set as a component integration, the component should have the following Terraform variables defined:

  • amplience_client_id
  • amplience_client_secret
  • amplience_hub_id

More information on the amplience integration on components.