• License is bound to the namespace of the kubernetes cluster.
  • Don’t change the namespace after activation.

Active Type

  • Online (Default)
  • Offline

Online Activation

  • Click on the License tab in the left menu of the Dify Enterprise dashboard, then click the activation button in the upper right corner.
  • Select Online as the activation type, enter the License ID, and complete the activation process.
  • After activating the license, you need to restart the enterprise service for the new license to take effect.
kubectl rollout restart deployment dify-enterprise

Offline Activation

  • Click on the License tab in the left menu of the Dify Enterprise dashboard, then click the activation button in the upper right corner. Select Offline as the activation type.
  • Copy the Cluster ID and send it to your Dify business team to obtain the Offline Code.
  • Before activating the license, you need to change the licenseMode value in the values.yaml file to offline.
    1. Display Helm Chart Values
      helm show values dify/dify
      
    2. Set License Mode to offline
      enterprise:
          licenseMode: "offline"
      
  • After making the changes, return to the License activation tab, enter the Offline Code, and complete the activation process.
  • After activating the license, you need to restart the enterprise service for the new license to take effect.
kubectl rollout restart deployment dify-enterprise

Refresh License

  • The flow for refreshing the license is the same as the activation process.
  • After refreshing the license, you need to restart the enterprise service for the new license to take effect.
kubectl rollout restart deployment dify-enterprise