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