Creating users

On this page you'll learn how to create users using the control panel or the API. Users are the ones that can interact with the databases, inserting and querying data, using SQL or API, and also get access to the Control Panel and its modules


Creating users via Control Panel

SlicingDice allows you to create users that will be able to access their accounts and use all the capabilities that they have permission to use, according to the Permission Group which they belong to.

You can create a user using the Control Panel accessing the Users section on the Identity and Access menu where you'll be able to see all the users currently associated with your SlicingDice account. Now you can click on Create New User to start the User Creation Wizard.

First you'll need to define a valid e-mail, optional labels, the language and you can optionally set a password for this user that is being created. If you don't set this password, SlicingDice will send a random one to his e-mail.

Creating an user defining its information

After that click on Save & Continue and define which Permission Group this user will belong to.

Creating an user defining its information

Now, click on Save & Continue and check all the information you've set to this user. If everything is fine you can finish this user creation, making it available in your user's list.


Creating users via API

You can create a user using the API through your own code using your favorite programming language. To do it, you'll need to define an API POST request using the /users endpoint as you can see on the example below.

curl -X POST https://api.slicingdice.com/v1/users \
    -H 'Authorization: TEAM_API_KEY' \
    -H 'Content-Type: application/json' \
    -d '{
    	"email": "user@slicingdice.com",
    	"password": "password123",
    	"labels": ["internal", "financial"],
    	"first-name": "John",
    	"last-name": "Doe",
    	"permission-group": "admin"
	}'

Check the API reference so you can learn how the user creation request and its parameters work.

You can also learn how to edit, delete or retrieve users and their Machine Learning and Data Visualization tokens on the API Reference section