Giter Club home page Giter Club logo

quickstart-app's Introduction

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.

Getting Started

You must have a Journey set up in your Alloy account and an SDK key. Please contact your Alloy rep or [email protected] if you need help getting those set up.

  1. Create an env file called .env.local
  2. 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 [email protected] to get your key API_BASE_URL is https://sandbox.alloy.co/ for Sandbox and https://api.alloy.co/ for production.

  1. run npm install
  2. run npm run dev

quickstart-app's People

Contributors

daviddkkim avatar erikwlarsen avatar mrestuccia avatar rkhatod7 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

quickstart-app's Issues

document SSN gets sent as *****

using the sample data on the app, I get this error:
"status_code": 400, "error": { "minor_code": 4002, "type": "Request Body Validation Failure", "message": "Your request body contained invalid field(s)", "details": { "message": "\"document_ssn\" with value \"***-**-1111\" fails to match the required pattern: /^\\d{9}$/", "path": "persons.0.document_ssn", "type": "string.regex.base", "context": { "pattern": {}, "value": "***-**-1111", "key": "document_ssn" } }, "error_token": "f60c9e35-aecd-4130-a171-d83d5d9c6e62" }, "timestamp": 1677721145254, "evaluation_token": null, "entity_token": null, "application_token": "m5sJfrSg5VDocEqbolv9ohHGkhyYTeTA", "application_version_id": null }

Unsupported node type: workflow

What exactly does this error indicate? I've configured the workflow token + secret that correspond to the journey token I'm using. Curious exactly what this represents?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.