Skip to content

com.dialpad.dx-android-clients.chatbot 1.0.0 Latest version

Install 1/2: Add this to pom.xml:
Learn more about Maven or Gradle
<dependency>
  <groupId>com.dialpad.dx-android-clients</groupId>
  <artifactId>chatbot</artifactId>
  <version>1.0.0</version>
</dependency>
Install 2/2: Run via command line
$ mvn install

About this package

Steps to integrate AI Chatbot

  1. Generate Personal Access Token:
  • Login to GitHub
  • Go to Setting > Developer Settings > Personal Access Tokens > Generate new token
  • Make sure you select the following scopes: read:packages
  • Generate token
  1. Store your GitHub Personal Access Token details:
  • Create a github.properties file within the root of your Android project
  • Make sure you include this file within your .gitignore as it contains sensitive credentials
  • Add properties ext.user=github_username ext.key=github_packages_token.
    • Replace github_username with your GitHub user ID.
    • Replace github_packages_token with the token generated in the previous step
  • Alternatively, provide your GitHub username and access token by setting the github_username and github_packages_token environment variables.
  1. Make the following changes to your build.gradle:
apply(from = rootProject.file("github.properties").path)

android {
    // ... your Android configuration ...

    repositories {
        maven {
            name = "GitHubPackages"
            url = uri("https://maven.pkg.github.com/dialpad/dx-adroid-clients/")
            credentials {
                username = extraProperties["user"] ?: System.getenv("github_username")
                password = extraProperties["key"] ?: System.getenv("github_packages_token")
            }
        }
    }
}

dependencies {
    // ... your other dependencies ...

    implementation("com.dialpad.dx-android-clients:chatbot:1.0.0") // Use latest version
}