# Createlicense

The command used to create license is `/createlicense <user> <expiration> <product> <ip1> <ip2> <ip3>`.

| Argument     | Description                                                                                                                                              | Required |
| ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- |
| `user`       | Specifies the Discord user to assign the license to                                                                                                      | `true`   |
| `expiration` | Defines the expiration date of the license. You can input a specific date in `YYYY-MM-DD` format, or use `0` for a lifetime license                      | `true`   |
| `product`    | Specifies the product for which the license is being created. This argument supports autocomplete to help select from available products in the database | `true`   |
| `ip1`        | Specifies the primary authorized IP address for the license. Enter `0` to allow access from any IP address or auto to pick the first ip                  | `true`   |
| `ip2`        | Optionally specifies a second authorized IP address for the license                                                                                      | `false`  |
| `ip3`        | Optionally specifies a third authorized IP address for the license                                                                                       | `false`  |

<figure><img src="https://cdn.discordapp.com/attachments/1263970451252707388/1287814975615926312/image.png?ex=66f2eaa8&#x26;is=66f19928&#x26;hm=9407c541054dfd870b4f38556ac4c5f7981747c3f0ad0710c8e20dff37c6453b&#x26;" alt=""><figcaption></figcaption></figure>
