Step 5 - Create and authorize a managed user
In order to sync data with your new TodoApp account, we need to create a managed user. A managed user represents a user in your system and it's the place where we maintain the user's integrations and authorizations.
Normally you would create a managed user using our API, but for this quick start we will do it from the dashboard.
Navigate to the Managed Users tab.
From there, you can click on the Create managed user
button to create a new
managed user.
You need to enter the external id and display name of the user. The external id is the id of the user in your system. The display name can be anything you want to make it easy for you to distinguish between users. You can use an the users email address or name, for example.
Once you click on the Create
button, you will be redirected to the new user's
page.
Now we want to add an integration to the new managed user. Go ahead and click on
the Add Integration
button.
You can use the dropdown to select the integration you want to add.
Obviously you want to select the TodoApp integration and click on the Add
button.
Now you can see the newly added integration which is currently unauthorized.
Normally you would authorize the integration by calling our API with the credentials your user supplied to you when they sign up for the integration. However, for this quick start, we will authorize the integration manually.
Click on the Authorize
button.
Since this app uses API keys, we simply need to enter the API key here.
To get the API key, you can navigate to the settings page of the TodoApp https://todo-app.lightyear.dev/settings and then copy the API key to your clipboard.
Then paste the API key here, click on the Save
button.
You should see the integration status is now AUTHORIZED
.