Let's do the Hello World
Like in any other programming tool, we think that a Hello world sample may solve some doubts.
Here you have a video showing how it looks like during our onboarding tour...
...but it's a much better option to create your account and implement it!
The first step is to login into your account at http://cloud.yepcode.io/ (if you don't have one, just create it in seconds!).
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. As language, for this sample we'll use JavaScript:

Now you can provide your source code in our editor. For this sample, you can use the following snippet:
JavaScript
Python
const {
context: { parameters },
} = yepcode;
const message = `Hello ${parameters.name}`;
console.log(message);
return {
theMessage: message,
};
parameters = yepcode.context.parameters
message = f"Hello ${parameters['name']}."
print(message)
return {
"theMessage": message,
}
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!