Skip to content

How to get your credential

SnorSnor edited this page Oct 20, 2022 · 1 revision

👨🏻‍💻 A Step-By-Step how to get your credential for SDK ✨

1️⃣ First - Sign in

Please sign in to the merchant portal first.

2️⃣ Second - Create Application

After sign in look the navigation bar on the left, under Developer there is a option name Application

image

Press the New App button locate at the top right corner.

image

Label & Save it.

image

3️⃣ Third - Setting up

And you will able to get you Client ID & Secret, remember to enable your application by press the toggle button on the top right corner.

image

4️⃣ Forth - Generate RSA Key

And scroll the webpage down to bottom at the section RSA Key press Generate button.

image

5️⃣ Fifth - SAVE IT 😶

You will get your Private Key but before that copy Public Key and scroll up ⬆️ and paste it to the Client public key textbox and save it.

image

🎉 Finally 🎉

And here you are.

val config = Config(
     clientID = "",
     clientSecret = "",
     privateKey = "",
     sandbox = true
)

val auth = RevenueMonsterAuth(config).getAccessToken()
val sdk = RevenueMonsterSDK(auth)