---
title: "addCustomer"
canonical: "https://support.appfire.com/space/CSOAP/1493044899/addCustomer"
format: markdown
---
> Macro (aura-html)

See also: [JSM Client Actions](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/1493044873)

> Macro (details)
> 
> | **Description** | Cloud only. Add a customer globally as a portal only user or customer to a project. For adding a global customer, you must use an email address perhaps with an optional display name. If a project is provided, the new or existing customer will be added to the project. |
> | --- | --- |
> | **Required Parameters** | [customer](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/1493046285) |
> | **Optional Parameters** | [name](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68459513), [project](https://appfire.atlassian.net/wiki/pages/createpage.action?spaceKey=csoap&title=--project&linkCreation=true&fromPageId=1493044899) |
> | **Type** | [Create](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/1493044789/JSM+Client+Action+Types#JSMClientActionTypes-Create) |
> | **Category** | [Users](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/1493044771/JSM+Client+Action+Categories#JSMClientActionCategories-Users) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Hosting** | cloud |
> | **Since Version** |  |
> | **Examples** |  |

## Related How To's

> Macro (cql-query)