---
description: Install private Capawesome Insiders npm packages in AWS Amplify deployments. Configure access tokens and npm registry for Capacitor app hosting.
title: Integrate Capawesome Insiders with AWS Amplify - Capawesome
image: https://capawesome.io/docs/assets/images/social/insiders/integrations/aws-amplify.png
---

[ Skip to content](#aws-amplify) 

[ 🎉 Introducing **Capawesome Platform** — one platform for Live Updates, Native Builds, App Store Publishing, and Insider SDKs.](https://capawesome.io) 

* [  Formbricks ](/docs/plugins/formbricks/)
* [  Geocoder ](/docs/plugins/geocoder/)
* [  Google Sign-In ](/docs/plugins/google-sign-in/)
* [  Grafana Faro ](/docs/plugins/grafana-faro/)
* [  libSQL ](/docs/plugins/libsql/)
* [  Live Update ](/docs/plugins/live-update/)
* [  Managed Configurations ](/docs/plugins/managed-configurations/)
* [  Media Session ](/docs/plugins/media-session/)
* [  ML Kit ](/docs/plugins/mlkit/)
* [  Navigation Bar ](/docs/plugins/navigation-bar/)
* [  NFC ](/docs/plugins/nfc/)
* [  OAuth ](/docs/plugins/oauth/)
* [  Pedometer ](/docs/plugins/pedometer/)
* [  Photo Editor ](/docs/plugins/photo-editor/)
* [  PostHog ](/docs/plugins/posthog/)
* [  Printer ](/docs/plugins/printer/)
* [  Purchases ](/docs/plugins/purchases/)
* [  RealtimeKit ](/docs/plugins/realtimekit/)
* [  Screen Orientation ](/docs/plugins/screen-orientation/)
* [  Screenshot ](/docs/plugins/screenshot/)
* [  Secure Preferences ](/docs/plugins/secure-preferences/)
* [  Speech Recognition ](/docs/plugins/speech-recognition/)
* [  Speech Synthesis ](/docs/plugins/speech-synthesis/)
* [  Share Target ](/docs/plugins/share-target/)
* [  Square Mobile Payments ](/docs/plugins/square-mobile-payments/)
* [  SQLite ](/docs/plugins/sqlite/)
* [  Superwall ](/docs/plugins/superwall/)
* [  Torch ](/docs/plugins/torch/)
* [  Wifi ](/docs/plugins/wifi/)
* [  Zip ](/docs/plugins/zip/)
* [  Cloud ](/docs/cloud/)
* [  Live Updates ](/docs/cloud/live-updates/)
* Advanced
* Integrations
* [  Native Builds ](/docs/cloud/native-builds/)
* [  Configuration ](/docs/cloud/native-builds/configuration/)
* [  Environments ](/docs/cloud/native-builds/environments/)
* Guides
* [  Sample Projects ](/docs/cloud/native-builds/sample-projects/)
* [  Troubleshooting ](/docs/cloud/native-builds/troubleshooting/)
* [  Automations ](/docs/cloud/automations/)
* [  Assist ](/docs/cloud/assist/)
* Account
* Organizations
* [  Organization and User Management ](/docs/cloud/organizations/memberships/)
* [  Single Sign-On (SSO) ](/docs/cloud/organizations/sso/)
* [  Teams ](/docs/cloud/organizations/teams/)
* [  Two-Factor Authentication ](/docs/cloud/organizations/two-factor-authentication/)
* [  Integrations ](/docs/cloud/integrations/)
* [  License Keys ](/docs/cloud/license-keys/)
* [  Webhooks ](/docs/cloud/webhooks/)
* [  Pricing ](https://capawesome.io/pricing/)
* [  FAQ ](/docs/cloud/faq/)
* [  Support ](/docs/cloud/support/)
* [  Contributing ](/docs/contributing/)
* [  LLMs ](/docs/llms/)
* [  Insiders ](/docs/insiders/)
* [  Configuration ](#configuration)
* [  Azure DevOps ](/docs/insiders/integrations/azure-devops/)
* [  Bitbucket Pipelines ](/docs/insiders/integrations/bitbucket-pipelines/)
* [  Capawesome Cloud ](/docs/insiders/integrations/capawesome-cloud/)
* [  Cloudflare Pages ](/docs/insiders/integrations/cloudflare-pages/)
* [  GitHub Actions ](/docs/insiders/integrations/github-actions/)
* [  GitLab CI/CD ](/docs/insiders/integrations/gitlab-ci/)
* [  Ionic Appflow ](/docs/insiders/integrations/ionic-appflow/)
* [  Jenkins ](/docs/insiders/integrations/jenkins/)
* [  Vercel ](/docs/insiders/integrations/vercel/)
* [  License ](https://capawesome.io/legal/eula/)
* [  Support ](/docs/insiders/support/)
* [  FAQ ](/docs/insiders/faq/)
* [  Blog ](/blog/)
* Categories

* [  Configuration ](#configuration)

# AWS Amplify[¶](#aws-amplify "Permanent link")

You can use private Capawesome npm packages within your [AWS Amplify](https://aws.amazon.com/amplify/) deployments by configuring the Capawesome npm registry. This guide shows you how to set up authentication to access the private packages from the Capawesome Insiders program.

## Preparation[¶](#preparation "Permanent link")

### Create an AWS Amplify Environment Variable[¶](#create-an-aws-amplify-environment-variable "Permanent link")

[Get your license key](/docs/insiders/faq/#where-can-i-find-my-license-key) and add it to your AWS Amplify app as an environment variable with the name `CAPAWESOME_NPM_REGISTRY_TOKEN` as described in [Environment variables](https://docs.aws.amazon.com/amplify/latest/userguide/setting-env-vars.html).

Keep your license key secure 

Never commit your license key directly to your repository and always use environment variables to store sensitive information like authentication tokens.

## Configuration[¶](#configuration "Permanent link")

### Configure the amplify.yml file[¶](#configure-the-amplifyyml-file "Permanent link")

Create or update the `amplify.yml` file in the root of your project and add the following commands to the `preBuild` phase:

`[](#%5F%5Fcodelineno-0-1)- echo "@capawesome-team:registry=https://npm.registry.capawesome.io" >> .npmrc
[](#%5F%5Fcodelineno-0-2)- echo "//npm.registry.capawesome.io/:_authToken=${CAPAWESOME_NPM_REGISTRY_TOKEN}" >> .npmrc
`

This will automatically configure npm to use the Capawesome registry for `@capawesome-team` packages during AWS Amplify builds.

### Example[¶](#example "Permanent link")

Here's a complete example of an `amplify.yml` file for a project using private Capawesome packages:

`[](#%5F%5Fcodelineno-1-1)version: 1
[](#%5F%5Fcodelineno-1-2)frontend:
[](#%5F%5Fcodelineno-1-3)  phases:
[](#%5F%5Fcodelineno-1-4)    preBuild:
[](#%5F%5Fcodelineno-1-5)      commands:
[](#%5F%5Fcodelineno-1-6)        - echo "@capawesome-team:registry=https://npm.registry.capawesome.io" >> .npmrc
[](#%5F%5Fcodelineno-1-7)        - echo "//npm.registry.capawesome.io/:_authToken=${CAPAWESOME_NPM_REGISTRY_TOKEN}" >> .npmrc
[](#%5F%5Fcodelineno-1-8)        - npm ci
[](#%5F%5Fcodelineno-1-9)    build:
[](#%5F%5Fcodelineno-1-10)      commands:
[](#%5F%5Fcodelineno-1-11)        - npm run build
[](#%5F%5Fcodelineno-1-12)  artifacts:
[](#%5F%5Fcodelineno-1-13)    baseDirectory: dist
[](#%5F%5Fcodelineno-1-14)    files:
[](#%5F%5Fcodelineno-1-15)      - '**/*'
`

May 7, 2026 

 Back to top 