How to Connect a Destination in Amplifi
Step 1: Access the Destinations Tab
- Log in to Amplifi.
- Click on the "Destination" tab in the top navigation bar.
- You’ll see a list of existing destinations. You can either:
- Click on an existing destination to view its details, or
- Click the "+ Create Destination" button in the top right corner to add a new one.
Step 2: Create a New Destination
- Click "+ Create Destination".
- Fill in the required fields in the form:
- Name: Enter a name for your destination.
- Description: (Optional) Add a description for better organization.
- Is Active: Toggle this to activate or deactivate the destination.
Step 3: Select Vector Type
- In the Select Vector dropdown:
- Choose either PG Vector or Databricks Vector Search.
- Based on your selection, additional fields will appear:
If you select PG Vector:
In addition to filling out the required fields, you need to activate the following PostgreSQL extensions in Azure:
fuzzystrmatchpg_trgmuuid-osspvector
Steps to Activate Extensions in Azure Portal:
- Go to your Azure PostgreSQL server in the Azure portal.
- In the left sidebar, click on "Server parameters".
- In the search bar, search for
azure.extensions. - Click on the
azure.extensionsparameter, and in the dropdown, select or add the following extensions:fuzzystrmatchpg_trgmuuid-osspvector
- Click Save to apply the changes.
- After activating the extensions, proceed with entering the required fields:
- Host: Enter the host URL or IP address.
- Port: Provide the port number.
- Database Name: Enter the database name.
- Username: Provide the username.
- Password: Enter the password.
If you select Databricks Vector Search:
For Databricks Vector Search, fill in the following parameters:
- Workspace URL: Enter the Databricks workspace URL.
- Token: Provide your Databricks access token.
- Warehouse ID: Enter the Warehouse ID.
- Database Name: Enter the database name.
- Table Name: Enter the table name.
Step 4: Test and Create the Destination
- Test Connection: Click the Test Connection button to ensure all details are correct and the connection works.
- Create: If the connection is successful, click the Create Destination button.
Step 5: View Your Destination
- Once created, you’ll be redirected to the Destination tab.
- The newly created destination should now be visible in the list.
By following these steps, you can successfully connect Amplifi to your desired destination, ensuring PG Vector is correctly set up with the necessary extensions in Azure PostgreSQL.