> For the complete documentation index, see [llms.txt](https://developers.meldapi.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.meldapi.io/integrations/getafile.md).

# Getafile

You'll need a Getafile account and API key to do the setup below. Register now at <https://getafile.io/auth/register>

MeldAPI's BYO Connector can fetch data from any compatible REST API.

Once you've got your Getafile API key, create a new BYO connection in MeldAPI.

<figure><img src="/files/YCVdd9RosSekL6otsdBT" alt=""><figcaption><p>How to configure the Authentication</p></figcaption></figure>

Once you've done the initial connector setup, you can start defining the schema. The resource endpoint to fetch all files for a domain:\
`GET: https://getafile.io/api/v1/teams/:team_id/file/index/:domain_id`

Where ":team\_id" is the team the domain belongs to, and ":domain\_id" is the domain the files are attached to in Getafile.

Check out the Getafile docs for more information about available endpoints: <https://developers.getafile.io/>

Once you've confirmed you can fetch the data (click "PREVIEW DATA") - a minimal setup would look like the below:<br>

<figure><img src="/files/4YIGecaQU5BDFKiNhVpT" alt=""><figcaption><p>Example basic setup for fetching domain files from Getafile</p></figcaption></figure>

You can access embedded values using the "." syntax. Array values can be accessed via the index position (0-based).

The "Image URL" field type is useful when syncing to image/file fields in Webflow / Airtable etc. We suggest using the Getafile domain URL for these purposes as seen in the above screenshot.

Inspecting the PREVIEW DATA response is the fastest way to find more fields to define in the schema.

Once you've finished defining the schema, click "UPDATE" at the bottom of the page and start using the connection in your Melds.&#x20;

Please note: As with all BYO connectors, it's read-only and can only be used as a source connection.
