The Vue Storefront Essentials Course is now available! Learn More
Configuration

Configuration

You can configure the Bloomreach Discovery integration by adding the following properties to the brd object in the middleware.config.js file:

// middleware.config.js

require('dotenv').config()

module.exports = {
  integrations: {
    brd: {
      location: '@vsf-enterprise/bloomreach-discovery-api/server',
      configuration: {
        endpoint: 'https://endpoint.url/graphql',
        envId: 'your_account_env_id',
      },
    },
  },
}

Configuration Options

You can configure the Bloomreach Discovery integration by adding the following properties to the brd object in the middleware.config.js file:

  • endpoint - URI to the Bloomreach Discovery GraphQL endpoint,
  • envId - environment ID, it will be used as br-acct-env header.