Skip to main content

Let's do the Hello World

Like in any other programming tool, we think that a Hello world sample may solve some doubts, so let's code it!

The first step is to login into your account at http://cloud.yepcode.io/. If you don't have one yet, fill the Get started form in our webpage and follow the instructions.

tip

If you just want to play with the tool, and don't want to create an account yet, you can use our Sandbox account where this Hello World sample already exits.

You can go now to your processes list page, that initially should be empty, but here you could see any previous created processes.

Press the New button and provide a name and a description for this new process:

Now you can provide your source code in our editor. For this sample, you can use the following snippet:

const {
context: { parameters },
} = yepcode;

console.log("Hello " + parameters.name);

You should be seeing something like this:

As you may guess, YepCode supports input parameters. In order to configure them, go to the parameters tab and add this JSON code in the input parameters editor:

{
"description": "The hello world input parameters",
"type": "object",
"title": "Hello world input parameters",
"properties": {
"name": {
"type": "string",
"description": "Type your name to receive a greeting"
}
},
"required": ["name"]
}

It should look like this:

Press the Save button and you have done with your process, let's run it! 🚀

There are multiple ways to run the process, but in this case we'll go with the simplest one. Just press the run button and provide the input parameters:

After that, you'll be redirected to the new execution page, and you can check how the execution is going and review the process output (in realtime if the process is still alive):

You are done! Your first YepCode process is up and running.

Let's go on with more complex things!