# system.kanoa.asset.addAssetGroup(assetGroupName, userId)

Adds a new asset group. If the asset group already exists, it returns the assetGroupId

---
### Parameters
**assetGroupName** `String`: Name of the asset group to add<br />
**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**assetGroupId** `Integer`<br />

---
### Example
```python
groupName = 'Group1'
userId = 5
assetGroupId = system.kanoa.asset.addAssetGroup(groupName, userId)
```
