— Setup Guide

Get your bot live
in 5 minutes

There are two ways to connect Gatekit to LBank. Pick the one that matches your account — the steps below change accordingly. You only do this once.

1
Find your LBank referral code
In LBank, open your referral or affiliate page and copy your invite code. It is 5 to 10 characters — letters and digits only.
The code, not the link. Copy only the code itself (for example 5ZDFY), not the full lbank.com/ref/… URL. The setup form rejects the full link.
2
Add the bot to your Discord server
Click "Add the bot to your server" in your setup email, pick your server, and authorize. That's it — Gatekit automatically detects your server and creates the VIP role for you. No bot tokens, no copying IDs.
3
Fill in the setup form
After authorizing you land on a short form. Choose Easy mode, paste your referral code, name your community, and submit. You will get an email with your dashboard login.
No API key on this path — Gatekit reads volume through its own LBank partner account, so there is nothing for you to create or whitelist.
4
Post the verification message
Once your community is activated, go to the Discord channel where your members should verify and type /setup_verify_post. This posts the Get VIP Access message with the Verify button — it's how your members join. You need to be a server admin to run it.
1
Whitelist Gatekit's IP addresses on LBank
When you create your LBank API key, LBank requires an IP whitelist. Add all four Gatekit IPs:
162.220.232.250, 162.220.232.251, 152.55.176.240, 152.55.177.181
LBank only lets you add ONE IP at a time. Add the first IP → Save. Then click Edit and add the next one → Save. Repeat until all four are on the key. All four must be there before you continue.
2
Create a read-only LBank API key
In LBank: Account → API Management → Create API key. Set it to read-only — Gatekit never trades or withdraws. Copy both the API key and the Secret key; you'll paste them into the setup form.
Read-only is enough — Gatekit only reads volume and balance data, it never touches your funds.
3
Add the bot to your Discord server
Click "Add the bot to your server" in your setup email, pick your server, and authorize. That's it — Gatekit automatically detects your server and creates the VIP role for you. No bot tokens, no copying IDs.
4
Fill in the setup form
After authorizing you land on a short form: confirm the IP whitelist, paste your LBank API key and secret, name your community, and submit. Your community activates within ~5 minutes while we validate your key. You'll get an email with your dashboard login.
5
Post the verification message
Once your community is activated, go to the Discord channel where your members should verify and type /setup_verify_post. This posts the Get VIP Access message with the Verify button — it's how your members join. You need to be a server admin to run it.

Troubleshooting

The setup form rejects my referral code → it must be 5 to 10 letters or digits. Paste the code itself, not the full referral link.
Verification says "not configured" right after setup → activation takes up to 5 minutes, try again shortly.
Members aren't getting the VIP role → check Server Settings → Roles: the Gatekit role must be above the VIP role.
Members don't see a way to verify → run /setup_verify_post in the channel where they should verify.

Ready to set up?

Open your setup link from the email and fill in your details. Takes about 5 minutes.

← Back to Gatekit