0.3.49 • Published 5 months ago

@salto-io/zendesk-adapter v0.3.49

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

Zendesk adapter

Zendesk read-only adapter for salto.io

Salto helps you keep track of the main configuration entities for Zendesk Support in areas such as ticket management and customization (fields, forms, dynamic content, schedules, routing, …), business rules (views, triggers, macros, automations, SLA policies), account configuration (account settings, groups and agent roles, brands, locales, etc) and more.

We do this using the Zendesk REST API.

Configuring your Zendesk account for Salto OAuth Authentication

Salto supports authenticating with Zendesk using either a combination of user-name and password, or using OAuth authentication. In order to use OAuth authentication, please follow the steps below.

  • Create a new "OAuth Client" in your Zendesk account (see details) - Under "Redirect URL", write http://localhost:PORT, where PORT is a port you can allow salto to open momentarily on your computer (it will not be open to external connections). Except for PORT, do not change any character in the URL.
  • You can now connect your Zendesk account using OAuth credentials, by adding the flag -a oauth or --auth-type oauth to the commands salto service add zendesk or salto service login zendesk
  • You will be asked to provide the following parameters:
    • Client ID of the OAuth Client
    • The generated Client Secret
    • The Port you provided in the redirect URL
    • Your Zendesk account subdomain.

Known limitations

  • Sunshine APIs (including custom objects) are not yet supported. Please reach out if interested.
  • Many resources do not have strong uniqueness requirements in Zendesk, so we made some assumptions in order to effectively compare environments. If your account has resources with identical names or titles (e.g. two views with the same title), these elements may receive the same ID and be omitted from the workspace as a result.
    • If you have such name overlaps and would still like to manage these elements with Salto, it is possible to adjust the configuration in order to support that. Please reach out if interested.

E2E tests

E2E tests need real Zendesk credentials to run.

Using a specific set of credentials

Add the following environment variables to bash_profile:

export ZENDESK_USERNAME='XXXX'
export ZENDESK_PASSWORD='XXXX'
export ZENDESK_SUBDOMAIN='XXXX'

Using the shared credentials pool

The credentials pool can be used to run the E2E tests concurrently on multiple Zendesk accounts.

The pool is used if the ZENDESK_ environment variables are not defined. You can also force its use by defining the environment variable USE_CRED_POOL=1.

AWS credentials for the pool

The pool uses Amazon DynamoDB, and needs read/write/list permissions for the e2e_permissions table.

Make sure your AWS credentials are set, e.g, as environment variables:

export AWS_ACCESS_KEY_ID='XXXX'
export AWS_SECRET_ACCESS_KEY='XXXX'

Managing the pool using CLI

To add your credentials to the pool, use the cred-store CLI located at the e2e_test directory of the project:

./e2e_test/cred_store register zendesk 'my-credentials-id' --username='my@user.com' --password='MYPASSWORD' --subdomain='acme'

Enter --help to see other uses for the cred-store utility - listing, removing and managing sets of credentials.

0.3.42

9 months ago

0.3.41

10 months ago

0.3.49

5 months ago

0.3.48

6 months ago

0.3.47

8 months ago

0.3.46

8 months ago

0.3.45

9 months ago

0.3.44

9 months ago

0.3.43

9 months ago

0.3.40

10 months ago

0.3.39

11 months ago

0.3.38

12 months ago

0.3.37

1 year ago

0.3.36

1 year ago

0.3.35

1 year ago

0.3.34

1 year ago

0.3.33

1 year ago

0.3.31

1 year ago

0.3.30

1 year ago

0.3.32

1 year ago

0.3.28-dantal.1

1 year ago

0.3.28-dantal.9

1 year ago

0.3.27-dantal.1

1 year ago

0.3.29

1 year ago

0.3.28

1 year ago

0.3.27

1 year ago

0.3.26

1 year ago

0.3.25

1 year ago

0.3.24

2 years ago

0.3.23-dantal.1

2 years ago

0.3.24-dantal.5

2 years ago

0.3.24-dantal.4

2 years ago

0.3.24-dantal.3

2 years ago

0.3.24-dantal.2

2 years ago

0.3.24-dantal.1

2 years ago

0.3.24-dantal.7

2 years ago

0.3.24-dantal.6

2 years ago

0.3.23

2 years ago

0.3.22

2 years ago

0.3.21

2 years ago