> For the complete documentation index, see [llms.txt](https://docs.goplugin.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goplugin.co/plugin-1.0-deprecated/job-setup.md).

# Job-Setup

&#x20;**Let’s create a JOB, so you can test and see if your oracle is getting interacted with the external world**

Create an Alarm Job in the Plugin node.

Steps to create Alarm Job -

* Login to the Plugin node
* Navigate to Jobs and click on New Job
* Copy the job specification mentioned below
* Paste the contents into the Json Spec field and create the job
* Copy the newly created job ID which we will be using later
* Submit clientcontract using [xinfin.remix](https://remix.xinfin.network/), if any error occurs then you can use [remix.ethereum](https://remix.ethereum.org/)

**NOTE:**

1\) While filling up "name", and "endpoint" values, please provide the same Name value which you used for 'plugin initiators create \<Name>'.

2\) For the 'addresses' values you need to paste the OCA which we used in [Deployment](https://docs.goplugin.co/oracle/deployment). You need to remove the 'xdc' at the start of the OCA and replace it with '0x', and make sure there is no space left at the front or back of the OCA.

```
{
    "initiators":[
        {
            "type":"external",
            "params":{
      "name": "xdc",
               "body": {
      "endpoint": "xdc",
      "addresses": ["0xf180e56bb575806aefaf2a7616622a9fc180b51c"]
    }
            }
        }
    ],
    "tasks":[
        {
            "type":"sleep",
            "confirmations":null,
            "params":{
            }
        },
        {
            "type":"ethbool",
            "confirmations":null,
            "params":{
            }
        },
        {
            "type":"ethtx",
            "confirmations":null,
            "params":{
            }
        }
    ],
    "startAt":null,
    "endAt":null
}
```

Here, “Sleep”, “ethbool”, “ethtx” are core-adapters,

Core adapters are the built-in functionality that every Plugin node supports. Strung together, they act as tasks that need to be performed to complete a Job. Adapters that are prefixed with “Eth” refer to tasks that post data onto the chain.

![](/files/hujKIXSkwFVmWFuiPr7A)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.goplugin.co/plugin-1.0-deprecated/job-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
