Set up Cline to connect to FriendliAI. Once you complete these steps, your agent will send requests to FriendliAI.
To get started, complete the following steps:
Install Cline
If you haven't already, install Cline.
Get a FriendliAI API Key
If you need a new API key, create one.
Set Up Cline
- Open Visual Studio Code. Then, open the Cline panel.
- In the panel’s upper-right corner, click Settings.
-
Connect Cline to FriendliAI’s API:
- In API Provider, select OpenAI Compatible.
-
In Base URL, paste the following FriendliAI base URL:
- In OpenAI Compatible API Key, paste your FriendliAI API key.
-
In Model ID, enter the FriendliAI model ID. For example, enter
zai-org/GLM-5.3. - Click Done.
Send a Prompt to Cline
Open your agent and send a prompt. For example, use the following prompt:
Explore your codebase.
To learn more, see Cline Docs > IDE.