---
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/7dea21cdced8ba96fc35ec6b2fbab3fbd2d381a9/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)
