# How to auto assign SharinPix licenses?

Sometimes you need some automation upon User creation to assign automatically SharinPix Licenses to newly created users or newly enabled Community users.

This could be done using Salesforce automations as described on the blog below:

[Automatic package license assignment to Users](https://blog.moothien.me/2017/05/automatic-package-license-assignment-to.html)

{% hint style="info" %}
To assign licenses manually to the package, please refer to this article : [How to Assign SharinPix licenses to Salesforce users](/faqs/how-to-assign-sharinpix-licenses-to-salesforce-users.md)
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sharinpix.com/faqs/how-to-auto-assign-sharinpix-licenses.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
