Cohere Prompt Engineering > Using the Cohere Prompt Engineering recipe > Step 2. Configure and publish the Cohere connection
  

Step 2. Configure and publish the Cohere connection

Configure the base URL and API key to access the Cohere API, and then publish the CohereConnection connection.
    1Open the CohereConnection connection.
    2From the Type list, select Cohere.
    3From the Runtime Environment list, select Cloud Server or any Secure Agent.
    4In the Connection Properties section, enter values for the following properties:
    Property
    Description
    Base_URL
    The primary endpoint that connects to the Cohere API and serves as the entry point for all API requests.
    API_Key
    A unique identifier that is used to authenticate and authorize access to the Cohere API.
    5Save and publish the connection.