Navigation

    FusionAuth
    • Login
    • Search
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    1. Home
    2. Tags
    3. kickstart
    Log in to post
    • All categories
    • P

      UNSOLVED How should I be using the kickstart.success webhook?
      Q&A • kickstart webhook startup ci cd docker-compose • • Pyroseza

      2
      0
      Votes
      2
      Posts
      171
      Views

      dan

      @pyroseza

      So it sounds like you're trying to figure out a way to know when FusionAuth has completed startup.

      The webhook is one way to do that. As you said, you can set up a kickstart event webhook within a kickstart file.

      Another way is to poll for a known value, such as a non-default tenant that you know your setup has added. That may be a simpler solution for you.

      Either way, you'll have to write some code to kick off the testing once you receive a signal that FusionAuth is ready.

      I personally would have preferred if there was an API endpoint I could query is to whether or not the kickstart has completed successfully, but instead we were given a webhook and I'm not quite sure how I should be using it.

      You'll need to write a webhook receiver that will kick off your tests (or whatever the next step of your testing setup is). I'm not quite sure how do that in one github action, but it should be pretty easy to split up a github action into two actions, a setup one (where you set everything up, including FusionAuth) and a test action (which you kick off in response to the FusionAuth webhook firing).

      I think you'd want the workflow_call event: https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_call

    • dan

      Can I run kickstart manually?
      Q&A • kickstart • • dan

      2
      0
      Votes
      2
      Posts
      125
      Views

      dan

      No, Kickstart must be run on a pristine system. Please feel free to file an issue suggesting that functionality, though: https://github.com/fusionauth/fusionauth-issues/issues.

    • H

      UNSOLVED Using Kickstart - only the first API Key is created
      Q&A • kickstart api keys • • hd_steve

      3
      0
      Votes
      3
      Posts
      176
      Views

      dan

      @hd_steve did you get this resolved?

    • dan

      How can you use kickstart with docker
      Q&A • docker kickstart • • dan

      2
      0
      Votes
      2
      Posts
      367
      Views

      dan

      Check out the official documentation on using Docker + Kickstart.

    • dan

      Kickstart and lambdas and newlines
      Q&A • kickstart lambda • • dan

      2
      0
      Votes
      2
      Posts
      152
      Views

      dan

      Can you use an include for the function body? For example: (where myLambda.ftl is your Lambda function in a folder named lambdas)

      "lambda":{ "body": "@{lambdas/myLambda.ftl}", }

      That should preserve your line returns if you include it that way. Hope that helps!

    • dan

      envt vars in kickstart files
      Q&A • kickstart environment var • • dan

      2
      1
      Votes
      2
      Posts
      125
      Views

      dan

      Yes, any variable defined in kickstart can be used in any of the includes.

    • dan

      SOLVED Does the instance need to be completely empty for kickstart to run?
      Q&A • kickstart setup • • dan

      2
      0
      Votes
      2
      Posts
      135
      Views

      dan

      Yup.

      Kickstart is intended to build the system up from scratch.

      We check for API keys, users, and a few other things to ensure we can start with a clean slate.

      If you already have an API key configured, you can also just script a set of API calls on your end as well. This is more/less what kickstart does.

      From the Kickstart docs:

      Kickstart will only run if no API keys, users or tenants exist, so you can safely leave this environment variable configured even after the system has been configured.

    • dan

      SOLVED When using kickstart are there any email templates included?
      Q&A • kickstart email templates • • dan

      2
      0
      Votes
      2
      Posts
      138
      Views

      dan

      Kickstart does not load any templates by default. You will need to create any template you’d like in your initial configuration.

      Outside of kickstart we do build some default templates. In Kickstart, no templates.

      Here's the email templates we ship with if you want to add them to your Kickstart: https://fusionauth.io/docs/v1/tech/email-templates/email-templates#templates-replacement-variables

    • dan

      SOLVED Can you store off fusionauth config in a file?
      Q&A • development kickstart environments • • dan

      2
      0
      Votes
      2
      Posts
      150
      Views

      dan

      You could look at kickstart: https://fusionauth.io/docs/v1/tech/installation-guide/kickstart

      Kickstart only works if the other devs' fusionauth instances are going to be starting from scratch.

      Otherwise you might want to vote for https://github.com/FusionAuth/fusionauth-issues/issues/560

    • dan

      What is Kickstart?
      Q&A • kickstart faq • • dan

      1
      0
      Votes
      1
      Posts
      162
      Views

      No one has replied