private AlanButton alanButton;

protected void onCreate(Bundle savedInstanceState) {
    ...
    alanButton = findViewById(R.id.alan_button);
    AlanConfig config = AlanConfig.builder()
    .setProjectId("")
    .build();
    alanButton.initWithConfig(config);
}
            

override fun onCreate(savedInstanceState: Bundle?) {
    ...
    val config = AlanConfig.builder()
        .setProjectId("")
        .build()
    alan_button.initWithConfig(config)
}