SN 36.23 translated by Bhikkhu Sujato says:
Then a mendicant went up to the Buddha, bowed, sat down to one side, and said to him:
Atha kho aññataro bhikkhu yena bhagavā tenupasaṅkami; upasaṅkamitvā bhagavantaṃ abhivādetvā ekamantaṃ nisīdi. Ekamantaṃ nisinno kho so bhikkhu bhagavantaṃ etadavoca:
“Sir, what is feeling? What’s the origin of feeling? What’s the practice that leads to the origin of feeling?
“katamā nu kho, bhante, vedanā, katamo vedanāsamudayo, katamā vedanāsamudayagāminī paṭipadā?
What’s the cessation of feeling? What’s the practice that leads to the cessation of feeling?
Katamo vedanānirodho, katamā vedanānirodhagāminī paṭipadā?
And what is feeling’s gratification, drawback, and escape?”
Ko vedanāya assādo, ko ādīnavo, kiṃ nissaraṇan”ti?
“Mendicant, there are these three feelings:
“Tisso imā, bhikkhu, vedanā—
pleasant, painful, and neutral.
sukhā vedanā, dukkhā vedanā, adukkhamasukhā vedanā.
These are called feeling.
Imā vuccanti, bhikkhu, vedanā.
Feeling originates from contact.
Phassasamudayā vedanāsamudayo.
Craving is the practice that leads to the origin of feeling.
Taṇhā vedanāsamudayagāminī paṭipadā.
When contact ceases, feeling ceases.
Phassanirodhā vedanānirodho.
The practice that leads to the cessation of feelings is simply this noble eightfold path, that is:
Ayameva ariyo aṭṭhaṅgiko maggo vedanānirodhagāminī paṭipadā, seyyathidaṃ—
right view, right thought, right speech, right action, right livelihood, right effort, right mindfulness, and right immersion.
sammādiṭṭhi … pe … sammāsamādhi.
The pleasure and happiness that arise from feeling: this is its gratification.
Yaṃ vedanaṃ paṭicca uppajjati sukhaṃ somanassaṃ, ayaṃ vedanāya assādo;
That feeling is impermanent, suffering, and perishable: this is its drawback.
yaṃ vedanā aniccā dukkhā vipariṇāmadhammā, ayaṃ vedanāya ādīnavo;
Removing and giving up desire and greed for feeling: this is its escape.”
yo vedanāya chandarāgavinayo chandarāgappahānaṃ, idaṃ vedanāya nissaraṇan”ti.
Bhikkhu Bodhi's translation is more accurate, here:
There are, bhikkhu, these three feelings: pleasant feeling, painful feeling, neither-painful-nor-pleasant feeling. This is called feeling. With the arising of contact there is the arising of feeling. Craving is the way leading to the origination of feeling. With the cessation of contact there is the cessation of feeling. This Noble Eightfold Path is the way leading to the cessation of feeling; that is, right view … right concentration.
In the above sutta and often elsewhere, it is said" "With the arising of contact there is the arising of feeling". Also, other suttas say: "With the arising of feeling there is the arising of craving".
This being so, how is craving the practice that leads to the origin of feeling?