---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [clients](../index.md) / createSlasShopperClient

# Function: createSlasShopperClient()

> **createSlasShopperClient**(`config`): [`SlasShopperClient`](../type-aliases/SlasShopperClient.md)

Defined in: [packages/b2c-tooling-sdk/src/clients/slas-shopper.ts:29](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/1dedfc1ffefa01c3d5bff62c8f7e7e682a1a91cd/packages/b2c-tooling-sdk/src/clients/slas-shopper.ts#L29)

Creates a client for the shopper authorization, login, and token endpoints.
Authentication is supplied per request: shopper credentials for login,
client credentials for private token exchanges, and PKCE for public clients.

## Parameters

### config

[`SlasShopperClientConfig`](../interfaces/SlasShopperClientConfig.md)

## Returns

[`SlasShopperClient`](../type-aliases/SlasShopperClient.md)
