# Connection and Integration
source: https://developer.mastercard.com/mastercard-processing-fraud/documentation/api-basics-section/connection-and-integration/index.md

There are two ways of integrating with the Mastercard Processing Fraud API:

* **API client generated by Mastercard:** Create a customizable API client from the OpenAPI Specification (OAS) and let the Mastercard open-source client libraries handle authentication for you. This approach offers more flexibility and is strongly recommended. See the [tutorial](https://developer.mastercard.com/platform/documentation/security-and-authentication/generating-and-configuring-a-mastercard-api-client/) for more information.
* **Method of your choice:** Use the REST/HTTP client of your choice and leverage the Mastercard open-source [client libraries](https://developer.mastercard.com/platform/documentation/security-and-authentication/using-oauth-1a-to-access-mastercard-apis/#client-libraries) for signing your requests and dealing with payload encryption. For more information, see [API Reference](https://developer.mastercard.com/mastercard-processing-fraud/documentation/api-reference/index.md).

Tip: Refer to the [Tutorials](https://developer.mastercard.com/mastercard-processing-fraud/documentation/tutorials-and-guides/index.md) section to help you with building an end-to-end application.
