def METHOD_NAME(config, ingest_ref, callback):
    """ Initialise the plugin.
    Args:
        config: JSON configuration document for the plugin configuration category
    Returns:
        data: JSON object to be used in future calls to the plugin
    Raises:
    """
    _LOGGER.info("imageblock - plugin_init called")
    try:
        _config = copy.deepcopy(config)
        _config['ingest_ref'] = ingest_ref
        _config['callback'] = callback
    except:
        _LOGGER.info("could not create configuration")
        raise
    return _config