def METHOD_NAME(self, request: Request, pipeline) -> HttpResponse:  # type:ignore
    if request.method == "POST":
        form = InstallationForm(request.POST)
        if form.is_valid():
            form_data = form.cleaned_data
            pipeline.bind_state("installation_data", form_data)
            return pipeline.next_step()
    else:
        form = InstallationForm()
    return render_to_response(
        template="sentry/integrations/opsgenie-config.html",
        context={"form": form},
        request=request,
    )