The PhoneCheck, SubscriberCheck, and SIMCheck products are all mobile-first products. The purpose of the "Setup Your Environment" guide is to provide you with everything needed before creating one of the three Checks.
IDlayr CLI
The IDlayr CLI enables developers to control their projects via command line, they're also able to build integrations into existing development workflows, via scripts without the need for an IDE.
With Node.js installed you install the IDlayr CLI as follows:
npm install -g @tru_id/cli
Once the tru command is installed, log your CLI in with your IDlayr account (replacing YOUR_IDENTITY_PROVIDER with either google, microsoft, or github):
tru login YOUR_IDENTITY_PROVIDER
Create a Project
Projects are configuration containers within the IDlayr platform and you'll normally have a one-to-one mapping of a IDlayr project to an application that you are developing (though you may also create a project per environment: dev, staging and prod). A key piece of the configuration are the project credentials which contain a client_id and client_secret that you use to authenticate interactions with the IDlayr APIs.
You create projects using the CLI:
tru projects:create "My Project"
And you'll see output such as:
Creating Project "My Project"Project configuration saved to "~/my_project/tru.json".
The tru.json file contains your project configuration including the project credentials. This file should not be commited to your version control!
With a project created you can cd my_project so the CLI can read the tru.json file from the cwd and you have everything you need to fully utilise the IDlayr CLI.