---
title: Checkout Kit for Android
description: Learn how to integrate Checkout Kit using Android
source_url:
html: https://shopify.dev/docs/storefronts/mobile/checkout-kit/android
md: https://shopify.dev/docs/storefronts/mobile/checkout-kit/android.md
---
ExpandOn this page
* [What you'll learn](https://shopify.dev/docs/storefronts/mobile/checkout-kit/android#what-youll-learn)
* [Requirements](https://shopify.dev/docs/storefronts/mobile/checkout-kit/android#requirements)
* [Step 1: Install the Checkout Kit as a package dependency](https://shopify.dev/docs/storefronts/mobile/checkout-kit/android#step-1-install-the-checkout-kit-as-a-package-dependency)
* [Step 2: Import the library](https://shopify.dev/docs/storefronts/mobile/checkout-kit/android#step-2-import-the-library)
* [Step 3: Present the checkout through a checkout URL or cart permalink](https://shopify.dev/docs/storefronts/mobile/checkout-kit/android#step-3-present-the-checkout-through-a-checkout-url-or-cart-permalink)
# Checkout Kit for Android
Checkout Kit is an open-source [Android library](https://github.com/Shopify/checkout-sheet-kit-android) that allows you to integrate Shopify's checkout in your mobile app. To get started, see our [sample projects](https://github.com/Shopify/checkout-sheet-kit-android/blob/main/samples/README.md), or follow the steps below to integrate it into your own project.
***
## What you'll learn
* Integrate Checkout Kit to your project
* Present the checkout through a checkout URL or cart permalink
***
## Requirements
* JDK 17+
* Android SDK 23+
***
## Step 1: Install the Checkout Kit as a package dependency
### Gradle
## Gradle
```kotlin
implementation "com.shopify:checkout-sheet-kit:3.3.0"
```
### Maven
## Maven
```kotlin
com.shopify
checkout-sheet-kit
3.3.0
```
***
## Step 2: Import the library
After adding Checkout Kit as a dependency, you can import the library in your code.
## Import the library
```kotlin
import com.shopify.checkoutsheetkit.ShopifyCheckoutSheetKit
```
***
## Step 3: Present the checkout through a checkout URL or cart permalink
To present a checkout to the customer, your app must specify a checkout URL. To get this URL, you can use [Storefront GraphQL API](https://shopify.dev/docs/api/storefront) to build a cart and load its [checkout URL](https://shopify.dev/docs/api/storefront/2023-10/objects/Cart#field-cart-checkouturl). Or, you can provide a [cart permalink](https://help.shopify.com/en/manual/products/details/cart-permalink).
When using GraphQL to get a checkout URL, Shopify's [Mobile Buy SDK for Android](https://github.com/Shopify/mobile-buy-sdk-android) can simplify the development workflow:
## Get a checkout URL
```kotlin
val client = GraphClient.build(
context = applicationContext,
shopDomain = "yourshop.myshopify.com",
accessToken = ""
)
val cartQuery = Storefront.query { query ->
query.cart(ID(id)) {
it.checkoutUrl()
}
}
client.queryGraph(cartQuery).enqueue {
if (it is GraphCallResult.Success) {
val checkoutUrl = it.response.data?.cart?.checkoutUrl
}
}
```
`checkoutUrl` is a standard web checkout URL that can be opened in any browser.
To present the checkout in your mobile app, call `present` on `ShopifyCheckoutSheetKit`. Pass in the checkout URL, along with other runtime configuration settings, as shown in this code:
## Present the checkout
```kotlin
import com.shopify.checkoutsheetkit.ShopifyCheckoutSheetKit
fun presentCheckout() {
val checkoutUrl = cart.checkoutUrl
ShopifyCheckoutSheetKit.present(checkoutUrl, context, checkoutEventProcessor)
}
```
***
* [What you'll learn](https://shopify.dev/docs/storefronts/mobile/checkout-kit/android#what-youll-learn)
* [Requirements](https://shopify.dev/docs/storefronts/mobile/checkout-kit/android#requirements)
* [Step 1: Install the Checkout Kit as a package dependency](https://shopify.dev/docs/storefronts/mobile/checkout-kit/android#step-1-install-the-checkout-kit-as-a-package-dependency)
* [Step 2: Import the library](https://shopify.dev/docs/storefronts/mobile/checkout-kit/android#step-2-import-the-library)
* [Step 3: Present the checkout through a checkout URL or cart permalink](https://shopify.dev/docs/storefronts/mobile/checkout-kit/android#step-3-present-the-checkout-through-a-checkout-url-or-cart-permalink)