Docs QSoft
CXPerium Bot C#
CXPerium Bot C#
  • Özet
  • Appsettings
  • Source Code
    • File Structure
    • Building Blocks
      • Contact
      • Activity
      • Conversation
    • Services
      • Whatsapp Message
        • SendMessage
        • SendMessageWithButton
        • SendLocationMessage
        • SendLocationRequest
        • SendSurvey
        • SendSticker
        • SendMediaWithUrl
        • SendMessageWithFlow
      • Cxperium
      • Automate
        • Page 1
  • Başlarken
    • Gereksinimler
    • CXPerium Hesabı Oluşturma
    • Bot Projesini Klonlama
    • Nuget Paketleri
    • Tunnel Setup
    • Integration with Bot
      • Developer Settings
  • Hello World!
  • Project Structure
    • Channels
      • Whatsapp.cs
      • CXPerium.cs
    • Dialogs
  • Library
    • Objects
      • Activity
      • Conversation
      • Contact
    • Messages
  • Assistan Modules
    • Configuration
    • Intent
    • Localization
  • WebHook
  • Gelişmiş Özellikler
    • Using Flows
    • Using Catalogs
    • Logging & Debug
  • WhatsApp Cloud API & Cxperium Integration
  • Değişiklik Günlüğü
Powered by GitBook
On this page
  1. Başlarken

Tunnel Setup

This page contains information on tunnel setup.

PreviousNuget PaketleriNextIntegration with Bot

Last updated 9 months ago

There are different tunnel applications. Most popular ones are NGROK, PageKite, and Cloudflare Tunnel.

In this document NGROK will be briefly explained.

NGROK Installation

In your browser, download the NGROK version suitable for your operating system from https://ngrok.com, download and open (run) the downloaded program. Then log in to your account on https://ngrok.com. In the Setup & Installation section, copy the line containing the authtoken information.

NGROK Setup

  • In the executed NGROK program, type “ngrok http 3978 --host-header="localhost:3978"” into the command line. Default application port is 3978.

  • From terminal or ngrok.exe file, write the command written above. And below screen will be shown on terminal.

  • From the Forwarding section, copy the link starting with HTTPS.

  • After copying the HTTPS link of your tunnel url (in this case NGROK), go to Assistant/Developer Settings menu. Add your phone number without "+" and your ngrok url with /api/whatsapp endpoint at the end as shown above.

  • This process is crucial for you to get your messages that you are sending from whatsapp to arrive at the project running on your localhost. (http://localhost:3978)

NGROK Tunnel Command
NGROK Tunnel View
New Developer