> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nekt.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Avendre as a data source

> Bring data from Avendre to Nekt.

Avendre is a Brazilian real estate platform that connects developers (incorporadoras), brokers (corretores), and real estate agencies (imobiliarias). It provides a comprehensive system for managing developments (empreendimentos), units, interactions, and sales coordination.

<img height="50" src="https://mintlify.s3.us-west-1.amazonaws.com/nekt/assets/logo/logo-avendre.png" />

## Configuring Avendre as a Source

In the [Sources](https://app.nekt.ai/sources) tab, click on the "Add source" button located on the top right of your screen. Then, select the Avendre option from the list of connectors.

Click **Next** and you'll be prompted to add your access.

### 1. Add account access

You'll need a Bearer Token (JWT) to connect to the Avendre API.

The following configurations are available:

* **API Key**: Your JWT bearer token for authenticating with the Avendre API.

* **Start Date**: (Optional) The earliest date from which records will be synced.

Once you're done, click **Next**.

### 2. Select streams

Choose which data streams you want to sync. For faster extractions, select only the streams that are relevant to your analysis.

Select the streams and click **Next**.

### 3. Configure data streams

Customize how you want your data to appear in your catalog. Select the desired layer, a folder to organize it, a name for each table, and the type of sync.

Once you are done configuring, click **Next**.

### 4. Configure data source

Describe your data source for easy identification within your organization.

Define your [Trigger](https://docs.nekt.com/runs/scheduling-and-triggers) based on how often you need data updated.

Once you are ready, click **Next** to finalize the setup.

### 5. Check your new source

You can view your new source on the [Sources](https://app.nekt.ai/sources) page. If needed, manually trigger the source extraction by clicking on the arrow button.

<Warning>For you to be able to see it on your [Catalog](https://app.nekt.ai/catalog), you need at least one successful source run.</Warning>

# Streams and Fields

Below you'll find all available data streams from Avendre and their corresponding fields:

<AccordionGroup>
  <Accordion title="Empreendimentos">
    | Field                                            | Type          |
    | ------------------------------------------------ | ------------- |
    | id\_empreendimento                               | integer       |
    | id\_incorporadora                                | integer       |
    | incorporadora                                    | string        |
    | logo\_incorporadora                              | string        |
    | nome                                             | string        |
    | status\_obra                                     | string        |
    | tipo                                             | string        |
    | latitude                                         | string        |
    | longitude                                        | string        |
    | area\_de                                         | string        |
    | area\_ate                                        | string        |
    | cep                                              | string        |
    | ano\_lancamento                                  | integer       |
    | segmento                                         | string        |
    | id\_cidade                                       | integer       |
    | nome\_cidade                                     | string        |
    | sigla                                            | string        |
    | link\_site                                       | string        |
    | mcmv                                             | string        |
    | endereco                                         | string        |
    | bairro                                           | string        |
    | numero                                           | string        |
    | complemento                                      | string        |
    | quartos\_de                                      | integer       |
    | quartos\_ate                                     | integer       |
    | banheiros\_de                                    | integer       |
    | banheiros\_ate                                   | integer       |
    | vagas\_de\_garagem\_de                           | integer       |
    | vagas\_de\_garagem\_ate                          | integer       |
    | qtd\_unidades                                    | integer       |
    | slug                                             | string        |
    | oportunidades\_disponiveis                       | integer       |
    | unidades\_cadastradas                            | integer       |
    | total\_interesses                                | integer       |
    | total\_acessos                                   | integer       |
    | caracteristicas                                  | string (JSON) |
    | comissao\_ate                                    | integer       |
    | crm\_origem                                      | string        |
    | galeria                                          | string (JSON) |
    | exibir\_valores\_unidades\_formas\_de\_pagamento | string        |
  </Accordion>

  <Accordion title="Unidades">
    | Field              | Type    |
    | ------------------ | ------- |
    | id\_unidade        | integer |
    | id\_empreendimento | integer |
    | status             | string  |
    | nome               | string  |
    | ativo              | string  |
    | data\_cad          | string  |
    | area               | number  |
    | posicao            | string  |
    | andar              | integer |
    | quartos            | integer |
    | banheiros          | integer |
    | vagas\_garagem     | integer |
    | bloco              | string  |
    | coluna             | string  |
    | quadra             | string  |
    | tipo               | string  |
    | valor              | string  |
    | codigo             | string  |
    | qtd\_suites        | integer |
    | etapa              | string  |
  </Accordion>

  <Accordion title="Corretores">
    | Field                | Type          |
    | -------------------- | ------------- |
    | id\_corretor         | integer       |
    | nome                 | string        |
    | tipo\_documento      | string        |
    | documento            | string        |
    | ativo                | string        |
    | status               | string        |
    | data\_cad            | string        |
    | email                | string        |
    | creci                | string        |
    | telefone             | string        |
    | descricao            | string        |
    | endereco             | string        |
    | tempo\_de\_mercado   | integer       |
    | cep                  | string        |
    | bairro               | string        |
    | complemento          | string        |
    | numero               | integer       |
    | facebook             | string        |
    | twitter              | string        |
    | instagram            | string        |
    | linkedin             | string        |
    | data\_ultimo\_acesso | string        |
    | avatar               | string        |
    | slug                 | string        |
    | uf\_creci            | string        |
    | tentativas\_erros    | integer       |
    | id\_cidade           | integer       |
    | id\_estado           | integer       |
    | especialidades       | string (JSON) |
    | imobiliaria          | string        |
    | possui\_imobiliaria  | string        |
    | cadastro\_origem     | string        |
    | email\_valido        | string        |
    | termo\_aceite\_sso   | string        |
    | tipo\_parceiro       | string        |
  </Accordion>

  <Accordion title="Incorporadoras">
    | Field                 | Type    |
    | --------------------- | ------- |
    | id\_incorporadora     | integer |
    | nome                  | string  |
    | cnpj                  | string  |
    | ativo                 | string  |
    | data\_cad             | string  |
    | email                 | string  |
    | telefone              | string  |
    | descricao             | string  |
    | endereco              | string  |
    | tempo\_de\_mercado    | integer |
    | cep                   | string  |
    | facebook              | string  |
    | twitter               | string  |
    | instagram             | string  |
    | linkedin              | string  |
    | data\_ultimo\_acesso  | string  |
    | avatar                | string  |
    | slug                  | string  |
    | link\_site            | string  |
    | tentativas\_erros     | integer |
    | plano                 | string  |
    | id\_cidade            | integer |
    | id\_estado            | integer |
    | unidades\_disponiveis | integer |
    | crm\_origem           | string  |
  </Accordion>

  <Accordion title="Interacoes">
    | Field               | Type    |
    | ------------------- | ------- |
    | id                  | integer |
    | titulo              | string  |
    | tipo                | string  |
    | imobiliaria         | string  |
    | descricao           | string  |
    | data\_interacao     | string  |
    | status              | string  |
    | data\_cad           | string  |
    | id\_incorporadora   | integer |
    | nome\_incorporadora | string  |
    | id\_corretor        | integer |
    | nome\_corretor      | string  |
    | email\_corretor     | string  |
    | id\_coordenador     | integer |
    | nome\_coordenador   | string  |
  </Accordion>

  <Accordion title="Imobiliarias">
    | Field          | Type    |
    | -------------- | ------- |
    | id             | integer |
    | nome           | string  |
    | avatar         | string  |
    | email          | string  |
    | creci          | string  |
    | uf\_creci      | string  |
    | telefone       | string  |
    | site           | string  |
    | cep            | string  |
    | endereco       | string  |
    | bairro         | string  |
    | numero         | integer |
    | aceitou\_termo | string  |
  </Accordion>

  <Accordion title="Coordenadores de Vendas">
    | Field                       | Type    |
    | --------------------------- | ------- |
    | id                          | integer |
    | nome                        | string  |
    | email                       | string  |
    | telefone                    | string  |
    | incorporadora               | string  |
    | id\_incorporadora           | integer |
    | parceiros\_associados       | integer |
    | interesses\_recebidos       | integer |
    | empreendimentos\_associados | integer |
    | principal                   | string  |
    | email\_valido               | string  |
    | avatar                      | string  |
    | data\_cad                   | string  |
    | data\_ultimo\_acesso        | string  |
  </Accordion>
</AccordionGroup>
