Help Center/ CodeArts Agent/ Best Practices/ Directly Importing Components
Updated on 2026-08-03 GMT+08:00

Directly Importing Components

For common third-party components, you can ask CodeArts Agent to give you common import methods and related code templates.

Procedure

  1. Log in to CodeArts Agent by referring to Quick Start.
  2. Type your request into the chat box of CodeArts Agent. For example, enter this instruction "I want to incorporate the Elasticsearch component into my Spring Boot project. Could you provide a step-by-step solution for the code configuration?"
  3. Click .
  4. Verify CodeArts Agent's response in the chat panel.

    The graph shown here is for reference only. The actual output may vary.

    Figure 1 Response result