AWS Amplify

SEO validation on every Amplify build.

Indxel integrates with AWS Amplify through your amplify.yml build spec. Add the check step to your build phase, and every deploy is validated against 15 SEO rules before going live.

1.Add to amplify.yml

yaml
version: 1
frontend:
  phases:
    preBuild:
      commands:
        - npm ci
    build:
      commands:
        - npm run build
    postBuild:
      commands:
        - npx indxel check --ci
  artifacts:
    baseDirectory: .next
    files:
      - '**/*'
  cache:
    paths:
      - node_modules/**/*

2.Add environment variables

bash
# In AWS Amplify Console → App settings → Environment variables
INDXEL_API_KEY = your-api-key

Why use Indxel with AWS Amplify

  • Validate SEO during the Amplify postBuild phase before the site goes live
  • Catch missing meta tags, broken og:images, and invalid structured data automatically
  • Get consistent SEO validation across all Amplify-hosted environments
  • Push audit results to the Indxel dashboard for historical tracking

Frequently asked questions

When does the SEO check run in the Amplify build?

The check runs in the postBuild phase, after your app is built but before deployment. If it fails, the deployment is blocked and you see the errors in the Amplify build logs.

Does it work with Amplify Gen 2?

Yes. Indxel validates the built output regardless of your Amplify generation. As long as your build produces HTML with metadata, the check works.