**hostPort**: Host and port of the Alation service.
{% /codeInfo %}
{% codeInfo srNumber=13 %}
**authType**:
Following authentication types are supported:
1. Basic Authentication: We'll use the user credentials to generate the access token required to authenticate Alation APIs.
- username: Username of the user.
- password: Password of the user.
2. Access Token Authentication: The access token created using the steps mentioned [here](https://developer.alation.com/dev/docs/authentication-into-alation-apis#create-via-ui) can directly be entered. We'll use that directly to authenticate the Alation APIs
- accessToken: Generated access token
{% /codeInfo %}
{% codeInfo srNumber=14 %}
**projectName**: Project name to create the refreshToken. Can be anything.
{% /codeInfo %}
{% codeInfo srNumber=16 %}
**paginationLimit**: Pagination limit used for Alation APIs pagination
{% /codeInfo %}
{% codeInfo srNumber=17 %}
**datasourceLinks**: Add a custom mapping between OpenMetadata databases and Alation DataSources.
If this mapping is present the connector will only look for the datasource in Alation to create other entities inside it. It will not create the datasource in Alation and it'll need to be created beforehand.
The mapping needs to be of the format `alation_datasource_id: openmetadata_database_fqn`
Here `alation_datasource_id` corresponds to the numerical id of the datasource in alation.
And `openmetadata_database_fqn` corresponds to the fullyQualifiedName of the database in OpenMetadata.
Below is an example of the mapping:
```yaml
datasourceLinks: {
"23": "sample_data.ecommerce_db",
"15": "mysql_prod.customers_db",
}
```
{% /codeInfo %}
#### Sink Configuration
{% codeInfo srNumber=18 %}
To send the metadata to OpenMetadata, it needs to be specified as `type: metadata-rest`.