Skip to main content

Setup Guide

This guide walks you through setting up a Milvus instance and obtaining the connection details required to use the Milvus connector. You can use a local Docker instance or the managed Zilliz Cloud service.

Prerequisites

  • A running Milvus instance (Docker or Zilliz Cloud).

Option 1: Local instance with Docker

  1. Ensure Docker is installed on your system.

  2. Start a Milvus standalone instance:

    curl -sfL https://raw.githubusercontent.com/milvus-io/milvus/master/scripts/standalone_embed.sh -o standalone_embed.sh
    bash standalone_embed.sh start
    note

    The script URL above points to the master branch. For a version-pinned installation command specific to your target release, refer to the official Milvus documentation:

  3. The default connection endpoint is http://localhost:19530.

Option 2: Managed instance with Zilliz Cloud

  1. Visit Zilliz Cloud and create an account.

    Zilliz Cloud sign up

  2. Complete the account setup process.

    Account setup

  3. From the welcome page, select Create Cluster.

    Welcome page

  4. Configure cluster details including cluster name, cloud provider, and region.

    Configure cluster

  5. Once the cluster is created, download the connection details and credentials.

    Cluster creation complete

  6. Navigate to the API Keys section in your cluster dashboard and generate an API key for authentication.

tip

Store the API key and endpoint securely. Use Ballerina's configurable feature and a Config.toml file to supply them at runtime.

What's next