This is a Next.js project bootstrapped with create-next-app
.
You need to have Node 16+ and npm 8+ installed
Alloy is the Identity Decisioning Platform that helps banks and fintech companies automate their decisions for onboarding, transaction monitoring and credit underwriting. Our single-API platform connects you and other clients like Gemini, Marqeta and Ally Bank to multiple data sources that result in the ability to make better fraud, risk and compliance decisions.
The Quick Start App allows you to demo your Alloy Journey and SDK end to end! You can use it to test out any of the supported Alloy plugins (see more details on the plugins here) and see sample API responses for each step. See API Docs for more details.
Alloy Journeys are decision configurations that are designed to provide a synchronous response to allow you to provide feedback, next steps, or a final decision to your users. To learn more about Journeys, head over here.
You must have a Journey set up in your Alloy account and an SDK key. Please contact your Alloy rep or support@alloy.com if you need help getting those set up.
- Create an env file called .env.local
- Fill out the env file with
WORKFLOW_TOKEN=xxxxx
WORKFLOW_SECRET=xxxxx
JOURNEY_TOKEN=xxxxx
ALLOY_SDK=xxxxx
API_BASE_URL=https://sandbox.alloy.co/
The WORKFLOW_TOKEN
and WORKFLOW_SECRET
can be found in the Alloy dashboard's workflow page.
The JOURNEY_TOKEN
can be found in the Alloy Dashboard's Journey page.
The 'ALLOY_SDK' parameter is the SDK key. Please contact CSM or support@alloy.com to get your key
API_BASE_URL
is https://sandbox.alloy.co/ for Sandbox and https://api.alloy.co/ for production.
- run npm install
- run npm run dev