# SDKs ## TypeScript/JavaScript SDK[​](#typescriptjavascript-sdk "Direct link to TypeScript/JavaScript SDK") Install the SDK and initialize the client once for all the examples using the TypeScript SDK in this documentation: ```bash npm install @credyt/api-client ``` ```typescript import { CredytApiClient } from "@credyt/api-client"; const client = new CredytApiClient({ key: "YOUR_API_KEY" }); ``` Secret management Never hard-code your API key. Store it in an environment variable and read it at runtime: ```typescript const client = new CredytApiClient({ key: process.env.CREDYT_API_KEY! }); ``` Use a `.env` file locally (and add it to `.gitignore`), and inject the variable through your hosting platform's secrets manager in production. ### More TypeScript Examples[​](#more-typescript-examples "Direct link to More TypeScript Examples") All of the examples in this documentation can also be found in our [GitHub repository](https://github.com/credyt/sdk-ts/tree/main/samples). ## Python SDK[​](#python-sdk "Direct link to Python SDK") Install the SDK and initialize the client once for all the examples using the Python SDK in this documentation: ```bash pip install credyt-api ``` ```python def main(): client = CredytApiClient( credential=ServiceKeyCredential(key=os.getenv("CREDYT_API_KEY")), ) response = client.customers.get( customer_id="cust_4qh0wajx2n9qtazh2tghzkyan2", ) print(response) if __name__ == "__main__": main() ``` Secret management Never hard-code your API key. Store it in an environment variable and read it at runtime: ```python client = CredytApiClient( credential=ServiceKeyCredential(key=os.getenv("CREDYT_API_KEY")), ) ``` Use a `.env` file locally (and add it to `.gitignore`), and inject the variable through your hosting platform's secrets manager in production. ### More Python Examples[​](#more-python-examples "Direct link to More Python Examples") All of the examples in this documentation can also be found in our [GitHub repository](https://github.com/credyt/sdk-python/tree/main/samples).