Skip to content

Installation

SDK Installation

To use the Eligibility SDK, you need to install the private npm package from GitHub Packages and configure access using a personal access token.

Step 1: Configure .npmrc

Create or update the .npmrc file in your project root:

@redbellynetwork:registry=https://npm.pkg.github.com
npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}
always-auth=true

🔑 Replace ${GITHUB_TOKEN} with your GitHub personal access token that has read:packages permission.

Step 2: Install the SDK

Run the following command:

npm install @redbellynetwork/eligibility-sdk

The SDK is now ready for integration into your React application.