# system.kanoa.quality.config.addAttributeLink(chkItemId, attributeId, userId)

Links the attributeId to the chkItemId. This check item now has access to a datasource (tag) and tolerance specs.
If this link already exists, the chkItemAttrLinkId is returned

---
### Parameters
**chkItemId** `Integer`: Id of check item<br />
**attributeId** `Integer`: Id of attribute<br />
**userId** `Integer`: Id of user executing the function<br />

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

---
### Example
```python
chkItemId = 1
attributeId = 2
userId = 5
chkItemAttrLinkId = system.kanoa.quality.config.addAttributeLink(chkItemId, attributeId, userId)
```
