---
title: "admCreateAccount"
canonical: "https://support.appfire.com/space/PSJC/720605343/admCreateAccount"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Adds an user on the system.

Adds an account on the system. You need to specify an array of Jira products.
NOTE: Requires admin token to be set!

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | admCreateAccount(email, atlproducts) | **Package** | adm |
| **Alias** |  | **Pkg Usage** | [use "adm";
createAccount(email, atlproducts);] |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| email | string | Yes | The email of the user to be added |
| atlproducts | string [] | Yes | Array of products, may be jira-core/jira-software/jira-servicedesk |

## Return Type

**[JUser](https://appfire.atlassian.net/wiki/spaces/PSJC/pages/435028065)**

An invitation is sent for that user.

## Example

```javascript
admCreateAccount("thecool@company.com", {"jira-core","jira-software","jira-servicedesk"});
```

Returns the created user

## See also

> Macro (contentbylabel)