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

# SDKs

> Use this SDK to integrate your code with the Marqeta Core API.

You can use an SDK to access the Marqeta Core API.

<h2 id="_generate_your_own_client_library">
  Generate your own client library
</h2>

You can reduce the effort required to integrate your code with the Marqeta API by automatically generating your client library for the language of your choice. When Marqeta updates the API definition, simply regenerate the library to update your code.

The following is the basic procedure to generate your library:

<Steps>
  <Step>
    In the [Swagger Editor](https://editor.swagger.io/), import the URL of the API definition file, as described in [Choosing an API definition file](#_choosing_an_api_definition_file) below.
  </Step>

  <Step>
    Generate the client library by selecting **Generate Client** and the language you prefer, such as Java or Go.
  </Step>
</Steps>

For information on tools you can use to create an automatic build process, see [OpenAPI.Tools](https://openapi.tools/).

<h3 id="_choosing_an_api_definition_file">
  Choosing an API definition file
</h3>

You have two options when choosing an API definition file to import:

* The current `swagger.json` that supports Swagger v2.0: `[https://sandbox-api.marqeta.com/v3/swagger.json](https://sandbox-api.marqeta.com/v3/swagger.json)`

* The newly released `CoreAPI.yaml` that supports OpenAPI v3.0: `[https://raw.githubusercontent.com/marqeta/marqeta-openapi/main/yaml/CoreAPI.yaml](https://raw.githubusercontent.com/marqeta/marqeta-openapi/main/yaml/CoreAPI.yaml)`

The OpenAPI definition is currently in beta, and subject to change. It offers greater accuracy than the Swagger v2.0 definition file because it is generated directly from source code. It might, however, be missing some endpoints. For details on what to expect, see [Marqeta’s blog post](https://community.marqeta.com/t5/engineering-blogs/marqeta-s-openapi-definitions-are-in-public-beta/ba-p/640/) announcing this beta release.

<Note>
  **Note**\
  To import the tokenization endpoints, you must use the Swagger v2.0 definition file URL.
</Note>
