def add_webhook_configuration_to_dataminr(self, data):
        """To configure integration settings for Dataminr RTAP.

        Args:
            data (json): data obtained via HTTP request of azure function.
            client_id (str): clientid of Dataminr account to authenticate with it.
            client_secret (str): clientsecret of Dataminr account to authenticate with it.

        Raises:
            DataminrPulseException: raises when any error occurs.

        Returns:
            tuple: return success_flag and settings_id if configureation is done successfully.
        """
        __method_name = inspect.currentframe().f_code.co_name
        try:
            setting_id = None
            self.authentication(client_id, client_secret)
            watchlists = self.get_lists()
            if watchlists:
                self.get_list_ids(watchlists)
            else:
                applogger.warning(
                    "{}(method={}) At least one watchlist must be configured on Dataminr acoount to get alerts.".format(
                        self.logs_starts_with, __method_name
                    )
                )
                raise DataminrPulseException(
                    "Please configure atleast one watchlist on your Dataminr account."
                )
            json_response = self.add_integration_settings(data)
            if json_response:
                applogger.info(
                    "{}(method={}) Integration settings are added successfully to Dataminr with settingId={}".format(
                        self.logs_starts_with,
                        __method_name,
                        json_response.get("deliverySettingId"),
                    )
                )
                setting_id = json_response.get("deliverySettingId")
                return setting_id
            else:
                raise DataminrPulseException(
                    "Problem while adding integration settings."
                )
        except DataminrPulseException as err:
            raise DataminrPulseException(err)
        except Exception as err:
            applogger.error(
                self.error_logs.format(self.logs_starts_with, __method_name, err)
            )
            raise DataminrPulseException(err)
To configure integration settings for Dataminr RTAP.

        Args:
            data (json): data obtained via HTTP request of azure function.
            client_id (str): clientid of Dataminr account to authenticate with it.
            client_secret (str): clientsecret of Dataminr account to authenticate with it.

        Raises:
            DataminrPulseException: raises when any error occurs.

        Returns:
            tuple: return success_flag and settings_id if configureation is done successfully.
        
Solutions/Dataminr Pulse/Data Connectors/DataminrPulseAlerts/DataminrPulseAlertsManualActivity/dataminrpulse_integration_settings.py