A connection stores how to reach another system and how to sign in to it. An endpoint is one list of records in that system. You set them up once and use them for as many imports as you need.
Before you begin
Ask whoever runs the other system for:
- its web address (it must start with
https://) - how to sign in: an API key, a username and password, a token, or OAuth2 details
- the path of each list you want to import, and any settings it needs, such as a campaign number
A file import doesn't need a connection. See Importing from a CSV or Excel file.
Step 1 – Create a connection
- Select the Settings gear (top right) → Connections.
- Select + New connection.
- Enter a Name you'll recognise, for example Raisely – Winter Appeal.
- Choose the Kind: the type of system. The choices are Cornucopia, EverGiving API, Oper8, Raisely and Other REST API (discovered). You can't change the Kind after you save.
- Enter the Base URL, the start of the system's web address. If you have a full example address, paste it into Paste an API URL (optional) and select Use URL. Vega fills in the Base URL and adds an endpoint for you when you save.
- Choose the Authentication method and enter the details (see the table below).
- Under Custom headers, add any extra headers the system asks for. Mark a secret value as sensitive so it is encrypted.
- Select Create connection.
Authentication methods
| Method | What to enter |
|---|---|
| None | Nothing. Only for systems that don't need a sign-in. |
| API key | The API key, and whether to send it in A header or A query parameter, with its name. Ask the provider which one they expect. |
| Basic (username + password) | The Username and Password. |
| Bearer token | The Bearer token. |
| OAuth2 | See Importing from a REST API. |
Note: Keys, passwords and tokens are encrypted and never shown again. When you edit the connection later, leave a secret field blank to keep the saved value.
Step 2 – Test the connection
- On the connection, select Test connection. You don't need to save first: it tests what's on screen.
- Look for Connection successful. If the test fails, the message says why. Check the Base URL and the sign-in details, then test again.
The Connections page shows when each connection was last tested and the result. Use Test there to check it again. If you change a password or key, the old result is cleared, so test again.
Step 3 – Add an endpoint
You can add endpoints once the connection has been saved. Some kinds of connection, such as a Community Solutions connection, don't need one.
- Open the connection and go to Endpoints.
- Select + Add endpoint. If you have a full example address, paste it and select Use URL to fill in the path and parameters. Otherwise enter:
- a Name, for example Donations
- the Path: the part of the address after the Base URL, for example
/v1/donors - the Method: usually GET
- the Direction: Import
- the Records path: where the list of records sits in the response, for example
data.items. Leave it blank and Vega finds the list for you. - Default params (JSON object): any settings you've been given, such as a campaign number
- Select Save endpoint.
Important: Never put a key or token in an endpoint's path or parameters, because they aren't encrypted. Put it on the connection's Authentication instead.
Edit a connection
Go to Settings → Connections and select Edit on the connection. Make your changes and select Save changes.
- A change to an endpoint's Path applies to every import that uses it, from its next run.
- A change to an endpoint's Default params applies only to imports created afterwards.
- An import keeps its own copy of the connection's Custom headers. If you change a key in a header, update the imports that use it too.
A system that isn't in the list
If the system returns JSON over the web, you can usually connect it yourself with Other REST API (discovered). See Importing from a REST API. If it doesn't, or it carries card or bank details, contact Vega support at support@vega.works with the system's name and what you want to import.
Next steps
Now create an import that uses the connection.
Related articles
Some content in this article may have been developed with the assistance of AI tools and reviewed by staff.
Comments
0 comments
Please sign in to leave a comment.