Start configuring your Cord app
The sample token you used before was for an automatically created test user. In this step you will learn how to create real users for your application.
First, create a user with an id (
cordymccordface in the example) and set the user's name and email.
cord user create cordymccordface --name 'Cordy McCordface' --email 'firstname.lastname@example.org'
A core concept in Cord is a "group". A group is just a list of users. Groups are used to control which users see which threads -- every thread belongs to a group, and only the members of that group can see the thread. You can read more here. Let's create a group for our new user Cordy.
cord group create my-first-group --name 'my first cord group'
To add Cordy to the group you just created, run this command:
cord group add-member my-first-group --user cordymccordface
In the next step, you'll set up a backend to complete your Cord integration →