1. Introduction
This article will explain how to obtain Dify's API. After obtaining it, you can install it in [App Store-Dify].
2. Operation process
2.1. Log in to Dify
Register or log in to the Dify Official Website (https://dify.ai/) and create an agent.
Note: Currently, SaleSmartly only supports access to enabled chatflow, chat assistant, and Agent type robots. Please confirm whether the type is supported before adding! |
2.2. Enter the published agent and enable the API
In the agent editing page, click the Access API menu and click API key to create an APIKEY. After the creation is complete, save the APIKEY. Please note that the agent must be running to successfully bind in SaleSmartly!
2.3. Fill in the obtained key into SaleSmartly
After entering the API key, the corresponding agent will be automatically obtained according to the key. When generating the API key, please make sure that the agent is in the published state. If it is not published, it will not be obtained!
2.4. Call in AI robot
Create or edit a robot in [Robot]-[AI Robots] to call it. For more robot configurations, see the AI Robot Configuration Guide.